1 强:字母+数字+特殊字符 2 ^(?![a-zA-z]+$)(?!d+$)(?![!@#$%^&*]+$)(?![a-zA-zd]+$)(?![a-zA-z!@#$%^&*]+$)(?![d!@#$%^&*]+$)[a-zA-Zd!@#$%^&*]+$ 3 4 5 中:字母+数字,字母+特殊字符,数字+特殊字符 6 ^(?![a-zA-z]+$)(?!d+$)(?![!@#$%^&*]+$)[a-zA-Zd!@#$%^&*]+$ 7 8 弱:纯数字,纯字母,纯特殊字符 9 ^(?:d+|[a-zA-Z]+|[!@#$%^&*]+)$