Title |
Test
Find
North American Phone Number Pattern
|
Expression |
^\(\d{3}\)\s?|\d{3}(\.|-|\s)?)\d{3}(\.|-|\s)?\d{4}$ |
Description |
Checks the format of a North American phone number with area code. |
Matches |
(999) 999-9999, 999.999.9999, 999-999-9999, |
Non-Matches |
999,999,9999, 999-9999 |
Author |
Rating:
Not yet rated.
Keith Stacy
|
Source |
|
Your Rating |
|
Title: Causes Error
Name: Jack
Date: 12/19/2013 3:05:55 PM
Comment:
parsing "^\(\d{3}\)\s?|\d{3}(\.|-|\s)?)\d{3}(\.|-|\s)?\d{4}$" - Too many )'s.