fork download
  1. import re
  2. rx = r"\"?([-a-zA-Z0-9.`?{}]+@\w+(?:-\w+)*\.\w+)\"?"
  3. s = """ "bilgi@kleintoys.com" and bilgi@klei-ntoys.com"""
  4. print(re.findall(rx, s))
Success #stdin #stdout 0s 23304KB
stdin
Standard input is empty
stdout
['bilgi@kleintoys.com', 'bilgi@klei-ntoys.com']