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

Please support RegExLib Sponsors

Sponsors

Advanced Search

Keywords

Category

Minimum Rating

Results per Page

Search Results: 1 regular expressions found.

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Pattern Title
Expression
^[\\(]{0,1}([0-9]){3}[\\)]{0,1}[ ]?([^0-1]){1}([0-9]){2}[ ]?[-]?[ ]?([0-9]){4}[ ]*((x){0,1}([0-9]){1,5}){0,1}$
Description
US Telephone Number where this is regular expression excludes the first number, after the area code,from being 0 or 1; it also allows an extension to be added where it does not have to be prefixed by 'x'.
Matches
(910)456-7890 | (910)456-8970 x12 | (910)456-8970 1211
Non-Matches
(910) 156-7890 | (910) 056-7890 | (910) 556-7890 x
Author Rating: The rating for this expression. Bill Anderson
   Displaying page 1 of 1 pages; Items 1 to 1

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