Skip to content

Instantly share code, notes, and snippets.

@jtsoi
Created May 6, 2014 11:56
Show Gist options
  • Save jtsoi/55a558dca0167fc6541e to your computer and use it in GitHub Desktop.
Save jtsoi/55a558dca0167fc6541e to your computer and use it in GitHub Desktop.
Find emails that contain non ascii chars.
SELECT email FROM web_logins WHERE NOT HEX(email) REGEXP '^([0-7][0-9A-F])*$';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment