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 UK Telephone
Expression
(((\+44)? ?(\(0\))? ?)|(0))( ?[0-9]{3,4}){3}
Description
This regex matches UK phone numbers in multiple formats, including those that begin with the international dial code and optionally bracket the leading zero of the area code. To match a number must begin with either +44 or 0 and have 9-12 following digits.
Matches
+44 (0) 1234 567890 or +44 1234 567890 or 01234 567890 or 0123 456 7890
Non-Matches
Numbers not beginning with 0 or +44 and numbers with less than 9 digits
Author Rating: Not yet rated. VB
   Displaying page 1 of 1 pages; Items 1 to 1

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