#场景一:密码中必须包含大小写 字母、数字、特称字符,至少8个字符,最多30个字符; 1 var pwdRegex = new RegExp('(?=.*[0-9])(?=.*[A-Z])(?=.*[a-z])(?=.*[^a-zA-Z0-9]).{8,30}'); 2 if (!pwdRegex. Read More
posted @ 2021-04-28 10:33 锦年与panda Views(862) Comments(0) Diggs(0) Edit