Title |
Test
Find
Match US phone numbers any format
|
Expression |
^1?[\s\-\.]?[\.\-\s\(]?(\d{3})[\.\-\s\)]?[\s]?(\d{3})[\.\s\-]?(\d{4})$ |
Description |
Matches all valid US phone number formats with any separators, with or without a 1. US area codes may not begin in 0 or 1. Area code is required. |
Matches |
3456789000 | 345-678-9000 | 345.678.9000 | (345) 678-9000 | 345 678 9000 | 1 (345) 678-9000 | 1-345-678-9000 | 13456789000 |
Non-Matches |
1 (100) 345-6789 | 023-456-7890 | 1234567 | 1(1)23-45.67 |
Author |
Rating:
Not yet rated.
Logan Bertram
|
Source |
|
Your Rating |
|