Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
^\(?[\d]{3}\)?[\s-]?[\d]{3}[\s-]?[\d]{4}$
|
Description |
This regular expression matches 10 digit US Phone numbers in different formats. Some examples are
1)area code in paranthesis.
2)space between different parts of the phone number.
3)no space between different parts of the number.
4)dashes between parts.
|
Matches |
(573)8841878 | 573-884-1234 | 573 234 1256
|
Non-Matches |
(573)(673)2345 | 573-12-2345
|
Author |
Rating:
Not yet rated.
kode kode
|
Displaying page
of
pages;
Items to