Skip to content

Instantly share code, notes, and snippets.

@beiyuu
Created January 11, 2014 04:15
Show Gist options
  • Save beiyuu/8366954 to your computer and use it in GitHub Desktop.
Save beiyuu/8366954 to your computer and use it in GitHub Desktop.
'哈哈'.replace(/[^\x00-\xff]/g, '豆瓣') //豆瓣豆瓣
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment