Skip to content

Instantly share code, notes, and snippets.

@umutcoskun
Created December 13, 2017 18:26
Show Gist options
  • Save umutcoskun/ceec2d5435aae68a1cac6596dd65be30 to your computer and use it in GitHub Desktop.
Save umutcoskun/ceec2d5435aae68a1cac6596dd65be30 to your computer and use it in GitHub Desktop.
def validate_email(address):
import re
return bool(re.match(r'[^@]+@[^@]+\.[^@]+', address))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment