Discuss / Python / 第二题

第二题

Topic source

pipi-hongwy

#1 Created at ... [Delete] [Delete and Lock User]

def name_of_email(addr):

    m=re.match(r'<?(\w+\s*\w*)>?\s*\w*@\w+.org',addr)

    return m.group(1)


  • 1

Reply