php 正则获取字符串中的汉字preg_match_all

preg_match_all('/[\x{4e00}-\x{9fff}]+/u', $list[$i]['iparr'], $matches);
$list[$i]['iparr'] = join('', $matches[0]);

 

posted @ 2017-09-27 16:44  侠岚之弋痕夕  阅读(1908)  评论(0编辑  收藏  举报
Where is the starting point, we don't have a choice, but the destination where we can pursue!