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: 2 regular expressions found.

   Displaying page 1 of 1 pages; Items 1 to 2
Title Test Details India Phone Numbers
Expression
^((\+)?(\d{2}[-])?(\d{10}){1})?(\d{11}){0,1}?$
Description
India phone number, accept with optional +91 national code and 0 for land and mobile number prefix . Allows optional - after national code
Matches
+91-9764544544 | 09764544544 | 01087656444 | +91-1087656444
Non-Matches
+91-01087656444 | +91-09764544544 | +9178786765652
Author Rating: The rating for this expression. Vishnu
Title Test Details India phone number..that is Landline number
Expression
^[0][1-9]{2}(-)[0-9]{8}$ and ^[0][1-9]{3}(-)[0-9]{7}$ and ^[0][1-9]{4}(-)[0-9]{6}$
Description
India phone(landline) number, accept 0 for prefix and - (hifen) after the STD code.
Matches
021-23456789,0221-2345678 and 02221-234567 respectively
Non-Matches
none..u can change it according to you need..
Author Rating: The rating for this expression. Sunny Raheja
   Displaying page 1 of 1 pages; Items 1 to 2

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