the regular expression of matching chinese characters
April 7th, 2009
| Tags: dev, regular expression
匹配0-9a-zA-Z 和所有中文字符的正则表达式
[\x30-\x39\x41-\x5a\x61-\x7a\x80-\xff]
其中”\xXX”中的XX代表ASCII值, 你也可以自己指定自己的匹配范围
附: ASCII码表
Leave a comment
| Trackback
