php匹配utf-8编码的中文的正则

On 07/31/2010, in php, regular, by kilobug
/[\x{4e00}-\x{9fa5}]+/i
Tagged with:  

One Response to php匹配utf-8编码的中文的正则

  1. 荒野无灯 says:

    这个我正则一直被我用来阻挡老外的垃圾留言

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

无觅相关文章插件,快速提升流量