PHP
·
发表于 5年以前
·
阅读量:7625
function clearCNCharsAndSpaces(str){
return str.replace(/[\u4e00-\u9fa5 ]/g,'');
}