RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find US & CAN Phone
Expression
^[2-9][0-8]\d[2-9]\d{6}$
Description
Matches U.S. and Canadian phone numbers, without punctuation, that follow the NANP numbering scheme.
Matches
2223334444,4443332222
Non-Matches
1231231234,0251241549
Author Rating: Not yet rated. Nathon Dalton
Source
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials