Skip to content

Instantly share code, notes, and snippets.

@zackdouglas
Created February 2, 2012 14:49
Show Gist options
  • Save zackdouglas/1723799 to your computer and use it in GitHub Desktop.
Save zackdouglas/1723799 to your computer and use it in GitHub Desktop.
A RegExp to identify normally safe international characters
;new RegExp('a-z:_\\s\\\\-\\\\.0-9\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\u010000-\\u0EFFF\u00B7\\u0300-\\u036F\\u203F-\\u2040');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment