Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vanleantking/218b029df9a51633c06a52a4c4da4e38 to your computer and use it in GitHub Desktop.
Save vanleantking/218b029df9a51633c06a52a4c4da4e38 to your computer and use it in GitHub Desktop.
regexp email not specific domain company mail
([\w.-]+)@(\[(\d{1,3}\.){3}|(?!hotmail|gmail|googlemail|yahoo|gmx|ymail|outlook|bluewin|protonmail|t\-online|web\.|online\.|aol\.|live\.)(([a-zA-Z\d-]+\.)+))([a-zA-Z]{2,4}|\d{1,3})(\]?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment