fork(1) download
  1. import re
  2. x = 'asdf(a)asdf.com'
  3. found = re.sub(r'\(a\)', '@', x.strip(), flags=re.IGNORECASE)
  4. print(found)
Success #stdin #stdout 0.02s 9936KB
stdin
Standard input is empty
stdout
asdf@asdf.com