Click here to Skip to main content
15,881,424 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to ask that what is the regularexpression for indian landline no.with STD code
Posted

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...
 
Share this answer
 
Comments
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
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900