正则表达式: ^(?![0-9]*$)(?![a-zA-Z]*$)[0-9A-Za-z-_\~!@#\$%\^&\*\.\(\)\[\]\{\}<>\?\\\/\'\"\+;:,|=]{6,30}$ 验证地址1:http://tool.chinaz.com/regex/点击打开链接 验证地址2:https://jex.im/regulex/#!embed=false&flags=&re=%5E(a%7Cb)*%3F%24点击打开链接