SyntaxFix
Write A Post
Hire A Developer
Questions
Generic version with the regular expression (It will remove all the control characters):
import re def remove_control_chart(s): return re.sub(r'\\x..', '', s)