Skip to content

Instantly share code, notes, and snippets.

@tjsudarsan
Created September 9, 2019 06:18
Show Gist options
  • Save tjsudarsan/53ada6a266b0893f0c0fd4228e5b2cb5 to your computer and use it in GitHub Desktop.
Save tjsudarsan/53ada6a266b0893f0c0fd4228e5b2cb5 to your computer and use it in GitHub Desktop.
/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment