经过长时间的查找和琢磨,现本人将已经测试成功并应用的正则表达式展现出来.供广大学友使用 (/d{3}-/d{8}|/d{4}-/d{8}|/d{4}-/d{7})|(^((/(/d{3}/))|(/d{3}/-))?13/d{9}|15[89]/d{8}$)
应用效果还不错
经过长时间的查找和琢磨,现本人将已经测试成功并应用的正则表达式展现出来.供广大学友使用 (/d{3}-/d{8}|/d{4}-/d{8}|/d{4}-/d{7})|(^((/(/d{3}/))|(/d{3}/-))?13/d{9}|15[89]/d{8}$)
应用效果还不错