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

Please support RegExLib Sponsors

Hosting Spotlight

Sponsors

Regular Expression Details

Title Test Find UK Phone Number in 4-3-4 Format
Expression
^[\d]{4}[-\s]{1}[\d]{3}[-\s]{1}[\d]{4}$
Description
Allows dashes or spaces to separate.
Matches
0800 333 4444 | 0870-333-4444 | 0844 333-4444
Non-Matches
08003334444 | 0800=333=4444 | 0800 333 4444
Author Rating: The rating for this expression. Matthew Harris
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

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