SyntaxFix
Write A Post
Hire A Developer
Questions
For example string s="(U+007c)"
s="(U+007c)"
To remove only the parentheses from s, try the below one:
import re a=re.sub("\\(","",s) b=re.sub("\\)","",a) print(b)