if(/^.*?[\d]+.*$/.test(pay_pass)&&/^.*?[A-Za-z].*$/.test(pay_pass)&&/^.{8,30}$/.test(pay_pass)){alert("验证成功")}else{alert("验证失败")}