常用正则

1、6-16位字符,数字,字母,下划线至少有两种元素组合
/^((?=.*d)(?=.*_)|(?=.*[a-zA-Z])(?=.*[d_]))w{6,16}$/
原文地址:https://www.cnblogs.com/tangbuluo/p/9224716.html