标签:blog io ar java on div log cti as
/** * 中文字符验证 * @param {} str * @return {Boolean} */ function checkChinese(str) { var re = /[^\u4e00-\u9fa5]/; if (re.test(str)) return false; return true; };
标签:blog io ar java on div log cti as
原文地址:http://www.cnblogs.com/fhtwins/p/4120151.html