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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find 10 Digit US Phone Number
Expression
(([2-9]{1})([0-9]{2})([0-9]{3})([0-9]{4}))$
Description
Basic expression to validate a 10 digit number. Does not allow for any delimiters between numbers. Specifies that numbers cannot start with a one.
Matches
2125551212 | 7875559090 | 4043005555
Non-Matches
18011212345 | (801)555-1212 | 800-555-1212
Author Rating: The rating for this expression. Joe Grigg
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-2025, RegexAdvice.com | ASP.NET Tutorials