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 Any Phone number with or without area code
Expression
^(\+){0,1}\d{1,10}$
Description
It will allow to enter 10 digits phone number. the number can start with + symbol or any number as well.
Matches
+9251123456 | +9251123456 | 123456
Non-Matches
1234567801 | -12323242
Author Rating: Not yet rated. Tahir Zia
Title Test Details Pakistani Mobile Phone Number
Expression
^((\+92)|(0092))-{0,1}\d{3}-{0,1}\d{7}$|^\d{11}$|^\d{4}-\d{7}$
Description
The expression is used to validate all the number which follows the format of pakistani mobile companies cell phone number format. i.e. Ufone, Warid, Mobilink, Zong, telenor etc
Matches
03231234567 | 0345-1234567 | +923211234567 | +92324-1234567 | +92-3331234567 | +92-333-1234567 | 00923331234567 | 0092333-1234567 | 0092-3331234567 | 0092-333-1234567
Non-Matches
3331234567 | 0333-123-4567 | 92513331234567
Author Rating: The rating for this expression. Tahir Zia
   Displaying page 1 of 1 pages; Items 1 to 2

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