Description |
More complete than other patterns I could find here. Matches U.S. Phone numbers with various formats. Invalid area codes (that start with a 0 or 1) are excluded, as well as invalid exchanges (that start with 0). Allows, alphabetical exchange+local parts, and many extension notations. Dash and dot delimiters allowed except adjacent to a parenthetical area code. Letters may be used in place of any numbers except the country code and area code. |