$str
=
"php如何将字 符串中322的字母数字Asf f45d和中文_分割?"
;
$arr
= preg_split(
"/([a-zA-Z0-9]+)/"
,
$str
, 0, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE);
print_r(
$arr
);
Array
(
[0] => php
[1] => 如何将字 符串中
[2] => 322
[3] => 的字母数字
[4] => Asf
[5] =>
[6] => f45d
[7] => 和中文_分割?
)