<?php
$str
=
‘aiezu.com 爱E族, baidu.com 百度‘
;
preg_match_all(
"#[\x{4e00}-\x{9fa5}]#u"
,
$str
,
$match
);
print_r(
$match
[0]);
时间: 2024-12-09 03:20:36
<?php
$str
=
‘aiezu.com 爱E族, baidu.com 百度‘
;
preg_match_all(
"#[\x{4e00}-\x{9fa5}]#u"
,
$str
,
$match
);
print_r(
$match
[0]);