常用正则表达式

/** 中文匹配 */
preg_match_all("/[\x{4e00}-\x{9fa5}]/u", $str, $matches);
posted @ 2016-10-19 16:47  天运子  阅读(77)  评论(0编辑  收藏  举报