类似 “壹贰叁,abc, 肆伍陆?”
1
chengzhoukun May 3, 2015
[\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 May 3, 2015
|
4
aseec OP 中间的逗号怎么匹配,试过\w * 都没成功
|