RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Indian Telephone Number Format
Expression
^((\+){1}[1-9]{1}[0-9]{0,1}[0-9]{0,1}(\s){1}[\(]{1}[1-9]{1}[0-9]{1,5}[\)]{1}[\s]{1})[1-9]{1}[0-9]{4,9}$
Description
This is a bit strict validation format for a telephone number. It has been tested and used on live server and it works fine without any error. +91 indicates ISD code for India. Numbers inside brackets() indicates STD code and at last the is the phone number. It works with all the indian STD codes and phone numbers existing till date.
Matches
+91 (22) 24440444
Non-Matches
+91(22)21312321
Author Rating: The rating for this expression. Sandeep Kumtakar
Source Well this has been developed by me after seeing many codes on this site and i will give credit to all the people who have hosted these valuable patter
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: Thanks
Name: Prashant
Date: 8/31/2007 5:27:44 AM
Comment:
Thanks a lot, It saved me from lot of pain. It works for Indian Phone number as well as existing mobile numbers in India Thanks


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