preg_match_all(‘/[\x{4e00}-\x{9fff}]+/u‘, $list[$i][‘iparr‘], $matches); $list[$i][‘iparr‘] = join(‘‘, $matches[0]);
php 正则获取字符串中的汉字preg_match_all
原文:http://www.cnblogs.com/wuheng1991/p/7602586.html