var specialChars = /[!@#\$%\^&\*\(\)\{\}\[\]<>~`-]|[=\/\\\?·_#¥%……—'"]/g;
包含特殊字符:
function checkLoginNo(value){
specialChars.test(value);
}
var specialChars = /[!@#\$%\^&\*\(\)\{\}\[\]<>~`-]|[=\/\\\?·_#¥%……—'"]/g;
包含特殊字符:
function checkLoginNo(value){
specialChars.test(value);
}