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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find US and Canada Phone numbers (all variations)
Expression
((\+?1)(\ \.-)?)?\([2-9][0-9]{2}|\([2-9][0-9]{2}\))(\ \.-)?[0-9]{3}(\ \.-)?[0-9]{4}
Description
US and Canada phones in any usual variation (area code in parenthesis, spaces or dots) including the international notation +1
Matches
+1 212 555 6666 | (212) 555 6666 | 212-555-666 | 212 5556666
Non-Matches
212 555 666
Author Rating: Not yet rated. Vassilis Petroulias
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-2014, RegexAdvice.com | ASP.NET Tutorials