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

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details 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
   Displaying page 1 of 1 pages; Items 1 to 1

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