Created
March 15, 2012 03:00
-
-
Save hite/2041530 to your computer and use it in GitHub Desktop.
javascript验证中文的正则表达式
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var reg = /^[u4E00-u9FA5]+$/; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment