Open Hobart-C opened 1 year ago
var pattern = /^(?=.[0-9])(?=.[A-Z]{1,})(?=.[a-z]{1,})(?=.[!@#$%^&?{}])[\w!@#$%^&?{}]{8,16}$/
8-16位,至少1个数字,1个大写字母,1个小写字母,1个特殊字符,不可输入中文及空格,
收到
有点问题, 这个"Kd@curry666"验证不通过
var pattern = /^(?=.[0-9])(?=.[A-Z]{1,})(?=.[a-z]{1,})(?=.[!@#$%^&?{}])[\w!@#$%^&?{}]{8,16}$/