2017年11月11日
摘要: 1 用户名正则 //用户名正则,4到16位(字母,数字,下划线,减号) var uPattern = /^[a-zA-Z0-9_-]{4,16}$/; //输出 true console.log(uPattern.test("iFat3")) 2 密码强度正则 //密码强度正则,最少6位,包括至少1 阅读全文
posted @ 2017-11-11 17:44 我爱张苗苗 阅读(182) 评论(0) 推荐(0) 编辑