2018年11月2日

摘要: 用户名正则 //用户名正则,4到16位(字母,数字,下划线,减号) var uPattern = /^[a-zA-Z0-9_-]{4,16}$/; //输出 true console.log(uPattern.test("iFat3")); 密码强度正则 //密码强度正则,最少6位,包括至少1个大写 阅读全文
posted @ 2018-11-02 02:11 笛赋山中人 阅读(73) 评论(0) 推荐(0) 编辑

导航