var specialChars = /[!@#\$%\^&\*\(\)\{\}\[\]<>~`-]|[=\/\\\?·_#¥%……—'"]/g;
包含特殊字符:
function checkLoginNo(value){
specialChars.test(value);
}
原文链接:https://www.f2er.com/regex/359022.htmlvar specialChars = /[!@#\$%\^&\*\(\)\{\}\[\]<>~`-]|[=\/\\\?·_#¥%……—'"]/g;
包含特殊字符:
function checkLoginNo(value){
specialChars.test(value);
}
原文链接:https://www.f2er.com/regex/359022.html