密码验证正则
var str = "aaa222";
var pswReg = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,16}$/;//8到16位数字与字母组合
console.log(pswReg.test(str))
var str = "aaa222";
var pswReg = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,16}$/;//8到16位数字与字母组合
console.log(pswReg.test(str))