var reg = /^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])[a-zA-Z0-9]{8,15}$/;
                   // alert(password);
                    if(reg.test(password)){
                        return true;
                    }else{
                        alert("密码只能为大写字母+小写字母+数字的8至15位字符组合");
                        return false;
                    }

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-22
  • 2021-11-23
  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
相关资源
相似解决方案