特殊正则
密码
1、同时存在大小写、数字,长度大于六位
/^(?=.\d)(?=.[a-z])(?=.*[A-Z])[a-zA-Z\d]{7,100}$/
2、同时存在大小写、数字,或者包含特殊字符(._~!@#$^&*),禁止空格,长度大于六位
/^(?!.\s)(?=.\d)(?=.[a-z])(?=.[A-Z])[a-zA-Z\d |a-zA-Z\d._~!@#KaTeX parse error: Expected group after '^' at position 1: ^̲&*]{7,100}/