开发者

Regualr expression to validate Indian Mobile numbers [duplicate]

This question already has answers here: 开发者_如何学Python Closed 11 years ago.

Possible Duplicate:

Regular expression for Indian mobile phone numbers?

How to use regular expression for validating the Indian Mobile numbers?

Ex:
+919000000098
or 
09000000098
or 
9000000098
or 
+91-9000000098
or 
9908716458


Try that:

^((\\+91-?)|0)?[0-9]{10}$
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜