/^((?=.*?\d)(?=.*?[A-Z])(?=.*?[a-z])|(?=.*?\d)(?=.*?[a-z A-Z])(?=.*?[!-/ :-@ \[-` {-~])).{8,16}$/.test(password);
正则密码大小写、数字、符号
最新推荐文章于 2024-03-08 22:37:18 发布
/^((?=.*?\d)(?=.*?[A-Z])(?=.*?[a-z])|(?=.*?\d)(?=.*?[a-z A-Z])(?=.*?[!-/ :-@ \[-` {-~])).{8,16}$/.test(password);