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 numbers
Expression
(((\d{0,2})\(\d{3}\))|(\d{3}-))\d{3}-\d{4}\s{0,}((([Ee][xX][Tt])|([Pp][Oo][Ss][Tt][Ee])):\d{1,5}){0,1}
Description
Phone numbers validation with extension number
Matches
111-1111-1111, 1(111)111-1111, (111)111-1111,(111)111-1111 EXT:1111,(111)111-1111 ext:1111, (111)111-1111 POSTE:1111, 111-111-1111 EXT:1111
Non-Matches
1, 1111111111, (111)111-1111 EXT1111
Author Rating: The rating for this expression. Eduardo Mardini
   Displaying page 1 of 1 pages; Items 1 to 1

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