Skip to content

Instantly share code, notes, and snippets.

@eloyz
Created June 24, 2011 15:10
Show Gist options
  • Save eloyz/1044977 to your computer and use it in GitHub Desktop.
Save eloyz/1044977 to your computer and use it in GitHub Desktop.
Check if Valid Email via Django Regex
from django.core.validators import email_re
def is_email_valid(email):
""" Check if valid email via Django regex """
return bool(email_re.match(email))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment