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
^[\\(]{0,1}[0-9]{3}([\\)]{0,1}|-|\s){0,1}[0-9]{3}(-|\s){0,1}[0-9]{4}$
Description
Matches a North American Telephone Number with and without '-' and '(' ')'
Matches
(416)555-1234 | 416-555-1234 | 4165551234
Non-Matches
(416555-1234 | (41)555-1234 | 416555123
Author Rating: Not yet rated. Michael Dzura
   Displaying page 1 of 1 pages; Items 1 to 1

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