Click here to Skip to main content
13,297,799 members (45,765 online)
Rate this:
Please Sign up or sign in to vote.
See more:
i want to ask that what is the regularexpression for indian landline no.with STD code
Posted 7-Nov-12 19:54pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.

Tadit Dash 8-Nov-12 2:12am
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...

Tadit Dash 8-Nov-12 2:19am
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
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.171207.1 | Last Updated 8 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100