| Title |
Test
Find
US Phone Number w/ ext.
|
| Expression |
^([+]?\d{1,4})?([\s-.+]?\(?\d{3}\)?)?([\s-.]?\d{3})([\s-.]?\d{4})\s?([eE]?[xX]?[tT]?[\s-.:]?\s?\d{4})? |
| Description |
US phone regex which allows the country code prefix and extension suffix |
| Matches |
1-123-456-7890 ext.1234, +1 (123) 456-7890 x: 1234, 1234567890 EXT 1234 |
| Non-Matches |
1 (123) 456-7890 m: 1234, +123456-123-456-7890 T: 12356 |
| Author |
Rating:
Not yet rated.
Kennethnume
|
| Source |
^([+]?\d{1,4})?([\s-.+]?\(?\d{3}\)?)?([\s-.]?\d{3})([\s-.]?\d{4})\s?([eE]?[xX]?[tT]?[\s-.:]?\s?\d{4})? |
| Your Rating |
|