一、js 正则表达式
1、密码强度,至少包含大小写字母、特殊字符、数字三种及以上,长度8~20位
var reg = /(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_!@#$%^&*`~()-+=]+$)(?![a-z0-9]+$)(?![a-z\W_!@#$%&*~()-+=]+$)(?![0-9\\W_!@#$%^&*()-+=]+$)[a-zA-Z0-9\W_!@#$%^&*`()-+=]{8,20}$/;
标签:常用,20,正则表达式,zA,-+,Z0 From: https://www.cnblogs.com/xx-ggyy/p/17046300.html