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

preg_match_all('/[x{4e00}-x{9fff}]+/u', $list[$i]['iparr'], $matches);
$list[$i]['iparr'] = join('', $matches[0]);
原文地址:https://www.cnblogs.com/wuheng1991/p/7602586.html