Displaying page
of
pages;
Items to
Title |
Test
Details
U.S. Phone Number
|
Expression |
(\+?1[- .]?)?[.\(]?[\d^01]\d{2}\)?[- .]?\d{3}[- .]?\d{4}
|
Description |
Matches most format of valid U.S. phone number. Only numbers whose first digit of area code is between 2 and 9 and whose country code is 1 would be matched. Does not match phones contain characters. See examples for more information.
|
Matches |
2345678900 | 234 567 8900 | 234-567-8900 | (234)567-8900 | (234) 567-8900 | 1-2345678900 | 1-234 567 8900 | 1-234-567-8900 | 1-(234)567-8900 | 1-(234) 567-8900 | +1-2345678900 | +1-234 567 8900 | +1-234-567-8900 | +1-(234)567-8900 | +1-(234) 567-8900 | 1 234 567 8900 | +12345678900 | 234.567.8900 | 1.234.567.8900
|
Non-Matches |
012-345-6789 | 9-2345678900 | 234-ABCDFGH
|
Author |
Rating:
Yihsun Tsai
|
Displaying page
of
pages;
Items to