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}$
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}$
精彩评论