Skip to content

Instantly share code, notes, and snippets.

@vamdt
Created February 12, 2015 13:03
Show Gist options
  • Save vamdt/ca145307d54cdeea2e17 to your computer and use it in GitHub Desktop.
Save vamdt/ca145307d54cdeea2e17 to your computer and use it in GitHub Desktop.
Common regex
// 中文 英文 数字
var chinese_english_num_re = /[\u4e00-\u9fa5a-zA-Z0-9]+/;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment