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 2
Title Test Details Pattern Title
Expression
^\+?\(?\d+\)?(\s|\-|\.)?\d{1,3}(\s|\-|\.)?\d{4}$
Description
Simply matches a telephone number. Not meant to be extremly accurate but more for q uick match or extracting from a body of text. Does not support extensions
Matches
555 5555 | (555) 555-5555 | +555 5555555
Non-Matches
+ 55 5555 | () 555 5555
Author Rating: Not yet rated. Kenneth Kalmer
Title Test Details Pattern Title
Expression
^\+?\(?\d+\)?(\s|\-|\.)?\d{1,3}(\s|\-|\.)?\d{4}$
Description
Simply matches a telephone number. Not meant to be extremly accurate but more for q uick match or extracting from a body of text. Does not support extensions
Matches
555 5555 | (555) 555-5555 | +555 5555555
Non-Matches
+ 55 5555 | () 555 5555
Author Rating: The rating for this expression. Kenneth Kalmer
   Displaying page 1 of 1 pages; Items 1 to 2

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