import res = "Hi, this is good :)#"print( re.sub(r"(:-?[()D])|[^A-Za-z0-9\s]", r"\1" , s) )
Standard input is empty
Hi this is good :)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!