正则验证

密码  6--20位数字加英文字母

/^(?!([a-zA-Z]+|d+)$)[a-zA-Zd]{6,20}$/
原文地址:https://www.cnblogs.com/wangshishuai/p/10623523.html