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 Phone Number
Expression
(1 )?\d{3} \d{3}-\d{4}
Description
This expression matches a US phone number with or without the leading 1.
Matches
1 555 765-1234 | 555 765-1234
Non-Matches
765-1234 | 123 456 9876
Author Rating: The rating for this expression. Stan Neidecker
   Displaying page 1 of 1 pages; Items 1 to 1

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