js正则包含三位

var reg = new RegExp("^(?![A-Za-z]+$)(?![A-Z\\d]+$)(?![A-Z_\\W]+$)(?![a-z\\d]+$)(?![a-z_\\W]+$)(?![\\d_\\W]+$)^[a-zA-Z0-9!#*_]{6,30}$");

posted @ 2019-02-25 11:03  WhoKnows1  阅读(491)  评论(0编辑  收藏  举报