密码强度正则
弱
reg1: /^[0-9]{6,20}$/,
中
reg2: /(?=.*([a-zA-Z].*))(?=.*[0-9].*)[a-zA-Z0-9]{6,20}$/,
强
reg3: /^(?![0-9]+$)(?![a-z]+$)(?![A-Z]+$)(?!([^(0-9a-zA-Z)])+$).{6,20}$/,
密码强度正则
弱
reg1: /^[0-9]{6,20}$/,
中
reg2: /(?=.*([a-zA-Z].*))(?=.*[0-9].*)[a-zA-Z0-9]{6,20}$/,
强
reg3: /^(?![0-9]+$)(?![a-z]+$)(?![A-Z]+$)(?!([^(0-9a-zA-Z)])+$).{6,20}$/,