1
chengzhoukun 2015 年 5 月 3 日
[\u4e00-\u9fa5]?
|
2
shiny PRO http://php.net/manual/zh/regexp.reference.unicode.php
<?php preg_match("/\p{Han}+/u", 'test中文', $result); var_dump($result); |
3
lsmgeb89 2015 年 5 月 3 日
|
4
aseec OP 中间的逗号怎么匹配,试过\w * 都没成功
|