Description |
Matches NANP requirements for valid telephone numbers in the USA, its territories, Canada, Bermuda, and 16 Caribbean nations.<br>
Area code: [2-9][0-8][0-9]<br>
Exchange code: [2-9][0-9][0-9]<br>
Station code: [0-9][0-9][0-9][0-9]<br>
Accepts common phone number separators like parentheses, dash/hyphen, slash, period, and space. Stops matching at any word boundary, including end of line. Adapted from Don Johnston's pattern. |