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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^07([\d]{3})[(\D\s)]?[\d]{3}[(\D\s)]?[\d]{3}$
Description
UK Mobile phone regular expression. I usually run this against a telephone field to split out landlines and mobile numbers.
Matches
07976444333 | 07956-514333 | 07988-321-213
Non-Matches
+44 07976444333 | 08956-444-444
Author Rating: The rating for this expression. Daren Salter
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 mobile RegEx including new numbers and Isle of Man.
Name: g1smd
Date: 8/4/2012 1:41:27 PM
Comment:
070 numbers are Personal Numbers charged at premium (small p) rates. 076 numbers (except for 07624) are used for pagers. 07624 is used by the Isle of Man. Try this: "^(\+44\s?|\(?0)7([45789]\d{2}|624)\)?\s?\d{3}\s?\d{3}$"


Title: UK mobile RegEx including new numbers and Isle of Man.
Name: g1smd
Date: 8/4/2012 1:41:05 PM
Comment:
070 numbers are Personal Numbers charged at premium (small p) rates. 076 numbers (except for 07624) are used for pagers. 07624 is used by the Isle of Man. Try this: "^(\+44\s?|\(?0)7([45789]\d{2}|624)\)?\s?\d{3}\s?\d{3}$"


Title: cool, handy
Name: David
Date: 6/28/2003 10:42:33 AM
Comment:
..


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