开发者

regex for phone number format xxx.xxx.xxxx exactly?

Can somebody give me the regex for validating the phone number in the format xxx.xxx.xxxx exactly(three开发者_JS百科 digits and a dot and three digits and a dot and four digits)?


^\d{3}\.\d{3}\.\d{4}$


^(\d{3}\.){2}\d{4}$
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜