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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find International Phone Number (with optional extension)
Expression
^(\+[0-9]{2,}[0-9]{4,}[0-9]*)(x?[0-9]{1,})?$
Description
This comes from our requirement to have tight clean telephone database column. This expression supports only strict format and none others.It accepts any international country code with optional extension number.
Matches
+17034567890 | +17034567890x1234 | +912024553455 | +912024553455x12 | +441237761457
Non-Matches
x1234 | +1 | +123 | +x1234 | +12x12 | +1(703)4563245x1234
Author Rating: Not yet rated. Umaisa LLC
Source Our Research
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-2018, RegexAdvice.com | ASP.NET Tutorials