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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Indian Phone Number
Expression
/^[0-9]\d{2,4}-\d{6,8}$/
Description
This is indian phone number. where it will take a format of std code 3 to 4 digits, hypen and rest of the 6 to 8 digits,
Matches
0222-8345622 | 09786-567567
Non-Matches
11-567567 | 114490-56756744
Author Rating: Not yet rated. trupti.gore
Source trupti gore
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: Doesn't work.
Name: sougandhpavithran@gmail.com
Date: 5/20/2010 10:47:05 AM
Comment:
Kindly remove this, this is not working at all even for the mentioned matches.


Title: complaint
Name: mmmmm
Date: 1/29/2010 5:40:18 AM
Comment:
this is not work in indian phone number like 0281-222222.


Title: shallow knowledge
Name: kunal raizada
Date: 1/20/2009 3:25:19 AM
Comment:
these metro kids know nothin bout india.....other dan there lightenin hangout places.....shallow knowledge.... kunal_raizada84@rediffmail.com


Title: shallow knowledge
Name: kunal raizada
Date: 1/20/2009 2:02:12 AM
Comment:
these metro kids know nothin bout india.....other dan there lightenin hangout places.....shallow knowledge.... kunal_raizada84@rediffmail.com


Title: Fudu eh chalda ta hai ni
Name: John
Date: 12/8/2008 12:49:44 AM
Comment:
Fudu eh chalda ta hai ni


Title: not working
Name: Varun Tayal
Date: 10/21/2008 8:09:32 AM
Comment:
0222-8345622 09786-567567 both r not working check again and send me on varuntayal@gmail.com


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