Title |
Test
Find
Pattern Title
|
Expression |
^\(?(?<AreaCode>[2-9]\d{2})(\)?)(-|.|\s)?(?<Prefix>[1-9]\d{2})(-|.|\s)?(?<Suffix>\d{4})$ |
Description |
US telephone number with area code. Validates and also captures AreaCode, Prefix and Suffix for reformatting. |
Matches |
(213) 343-1234 | 213-343-1234 | 213 343 1234 |
Non-Matches |
343-1234 |
Author |
Rating:
Not yet rated.
MARK J KRISBURG
|
Source |
|
Your Rating |
|
Title: abc
Name: xyz
Date: 10/23/2007 5:28:25 AM
Comment:
good work