You are viewing a single comment's thread. Return to all comments →
def fun(s): if '@' in s: list_c= s.split('@') if '.' in list_c[1]: list_c[1]=list_c[1].split('.') if list_c[1][1].isalpha() and len(list_c[1][1])<=3: if list_c[1][0].isalnum(): if list_c[0].replace('-','').replace('_','').isalnum(): return True return False
Seems like cookies are disabled on this browser, please enable them to open this website
Validating Email Addresses With a Filter
You are viewing a single comment's thread. Return to all comments →