php中utf-8编码下用正则表达式匹配汉字的最终正确表达式——/^[\x{4e00}-\x{9fa5}]+$/u

php中GB2312汉字字母数字下划线正则表达式——"/^[".chr(0xa1)."-".chr(0xff)."A-Za-z0-9_]+$/"

posted on 2015-05-11 16:44  s201307109  阅读(722)  评论(0编辑  收藏  举报