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 Phone Number
Expression
^(((\+44\s?|0044\s?)?|(\(?0))((2[03489]\)?\s?\d{4}\s?\d{4})|(1[23456789]1\)?\s?\d{3}\s?\d{4})|(1[23456789][234578][0234679]\)?\s?\d{6})|(1[2579][0245][0467]\)?\s?\d{5})|(11[345678]\)?\s?\d{3}\s?\d{4})|(1[35679][234689]\s?[46789][234567]\)?\s?\d{4,5})|([389]\d{2}\s?\d{3}\s?\d{4})|([57][0-9]\s?\d{4}\s?\d{4})|(500\s?\d{6})|(7[456789]\d{2}\s?\d{6})))$
Description
UK phone number for both Geographic (landline) and Non-Geographic (Cell) numbering. It validates a complete range of combination of area code, location and formate , it also allows international number starting from +44 or 0044 and it also allows () with area code and spaces.
Matches
+44 20 xxxx xxxx | 0044 20 xxxx xxxx | 020 xxxx xxxx | (020) xxxx xxxx | (020)xxxxxxx |020 xxxx xxxxx | (01xxx) xxxxxx | (01xxx) xxxxx | (01x1) xxx xxxx | (011x) xxx xxxx | (02x) xxxx xxxx | (01xxxx) xxxxx and (01xxxx) xxxx | 05x xxxx xxxx | 03xx xxx xxxx | 07xxx xxxxxx | 08xx xxx xxxx and 09xx xxx xxxx
Non-Matches
+44 020 xxxx xxxx | +44 (20) xxxx xxxx
Author Rating: The rating for this expression. Masood Ahmed Panezai
   Displaying page 1 of 1 pages; Items 1 to 1

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