I am in trouble for processing XML text. I want to delete () from my text as follows:
from <b>(apa-bhari(n))</b>
to <b>apa-bhari(n)</b>
The following code was made
name= re.sub('<b>\((.+)\)</b>','<b>\1</b>',name)
But this can only returns
<b></b>
I do not understand escape sequences and backreference. Please tell me the solution.