方法1: var ret = /^\d{11}$/; !ret.test(phone) 方法2: 来源:https://www.cnblogs.com/phpfangzhan/p/11804081.html 标签 手机