fork download
  1. import re
  2. email = "something+company@gmail.com"
  3. m = re.search(r'\+([^@]+)@', email)
  4. if m:
  5. print(m.group(1))
Success #stdin #stdout 0s 23304KB
stdin
Standard input is empty
stdout
company