开发者

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

开发者 https://www.devze.com 2023-01-26 08:39 出处:网络
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}\\.\\

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

精彩评论

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