Regex Replace Special Characters Python Compiler