Validating Email Addresses With a Filter

  • + 0 comments
    return re.fullmatch(r'[a-z0-9_-]+@[a-z0-9]+\.[a-z]{1,3}',s,re.I)