首页 > IT职业 > IT职场 > 检测字符串中包含大小写字母、数字、特殊字符
function isPassword(str)
{
if(/^[x00-xff]+$/.test(str)==false){
return false;
}
var len = str.length;
if(len>16 || len = 48 && c = 65 && c = 97 && c 来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/3527/viewspace-2798643/ ,如需转载,请注明出处,否则将追究法律责任。