Title |
Test
Find
Phone Number
|
Expression |
^((\([2-9]\d{2}\)[ ]?)|([2-9]\d{2})[- ]?)\d{3}[- ]?\d{4}$ |
Description |
Requires area code, optional parentheses but requires both. Allows '-' or ' '. |
Matches |
(555) 555-5555 | 555-555-5555 | 555 555-5555 |
Non-Matches |
(555 555-5555, (555)-555-5555 | 555) 555-5555 |
Author |
Rating:
Not yet rated.
Brad Thomas
|
Source |
|
Your Rating |
|