Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
^([0-9]( |-)?)?(\(?[0-9]{3}\)?|[0-9]{3})( |-)?([0-9]{3}( |-)?[0-9]{4}|[a-zA-Z0-9]{7})$
|
Description |
Matches US phone number format. 1 in the beginning is optional, area code is required, spaces or dashes can be used as optional divider between number groups. Also alphanumeric format is allowed after area code.
|
Matches |
1-(123)-123-1234 | 123 123 1234 | 1-800-ALPHNUM
|
Non-Matches |
1.123.123.1234 | (123)-1234-123 | 123-1234
|
Author |
Rating:
Igor Kravtsov
|
Displaying page
of
pages;
Items to