Skip to content

Instantly share code, notes, and snippets.

@ramcandrews
Created March 17, 2022 08:13
Show Gist options
  • Save ramcandrews/07b86e366bc40f4328fe97b279e853fd to your computer and use it in GitHub Desktop.
Save ramcandrews/07b86e366bc40f4328fe97b279e853fd to your computer and use it in GitHub Desktop.
simple email regex
[^@ \t\r\n]+@[^@ \t\r\n]+\.[^@ \t\r\n]+
[^@ \\t\\r\\n] matches for anything other than @, space, tab, new lines repetitions of a non-whitespace character.
https://ihateregex.io/expr/email/ (04/17/2022)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment