Click here to Skip to main content
Sign Up to vote bad
good
See more: C#
i want to ask that what is the regularexpression for indian landline no.with STD code
Posted 7 Nov '12 - 18:54


2 solutions

Please go through Regex for Indian Phone Numbers[^].
 
According to this article -
To accept Indian (Landline) phone numbers check this Regex: /^[0-9]\d{2,4}-\d{6,8}$/
Please try it out and let me know.
 
Thanks...
  Permalink  
Comments
Tadit Dash - 8 Nov '12 - 2:12
Please accept this answer, if it has helped you in any way. This will help others to find the answer in one go and you will also be awarded with some points for this action... Thanks, Tadit
Tadit Dash - 8 Nov '12 - 2:19
Thanks for accepting the answer @nikita.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 414
1 Arun Vasu 253
2 OriginalGriff 210
3 CPallini 163
4 Aarti Meswania 158
0 Sergey Alexandrovich Kryukov 10,129
1 OriginalGriff 7,749
2 CPallini 4,181
3 Rohan Leuva 3,482
4 Maciej Los 2,999


Advertise | Privacy | Mobile
Web04 | 2.6.130523.1 | Last Updated 8 Nov 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid