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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find UK Telephone Numbers
Expression
^(((\+|00)?44|0)([123578]{1}))(((\d{1}\s?\d{4}|\d{2}\s?\d{3})\s?\d{4})|(\d{3}\s?\d{2,3}\s?\d{3})|(\d{4}\s?\d{4,5}))$
Description
Validates UK phone numbers based on the Wikipedia page http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom including the international dialing code 0044/+44/44
Matches
0XX XXXX XXXX | 0XXX XXX XXXX | 0XXXX XXXXXX
Non-Matches
04XXX XXXXXX | 06XXX XXXXXX | 0XXXXXXX
Author Rating: The rating for this expression. Paul Verhulpen
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

Title: UK Telephone Numbers
Name: Nigel
Date: 7/30/2019 12:55:10 PM
Comment:
cant get the above to work with any of these numbers? +44 1344 887002,01344 987003,0171 935 4499,0208-345-6789,+44 0207 456 8989,


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