fork download
  1. import re
  2. s = "Hi, this is good :)#"
  3. print( re.sub(r"(:-?[()D])|[^A-Za-z0-9\s]", r"\1" , s) )
  4.  
Success #stdin #stdout 0.02s 27712KB
stdin
Standard input is empty
stdout
Hi this is good :)