line ble variable [0 p s 所有 baidu pla
<?php
$str
=
‘aiezu.com 爱E族, baidu.com 百度‘
;
preg_match_all(
"#[\x{4e00}-\x{9fa5}]#u"
,
$match
);
print_r(
[0]);
PHP提取字符串中的所有汉字
来源: http://www.bubuko.com/infodetail-2045225.html