def name_of_email(addr):
return re.match(r"^<?([\w\s]*)>?\s*.*@", addr).group(1)
Sign in to make a reply
子非鱼然食之乎
def name_of_email(addr):
return re.match(r"^<?([\w\s]*)>?\s*.*@", addr).group(1)