How can I replace parenthesis in vim
regex, vim
Solution
Vim doesn't require escaping of brackets by default. Try:
:%s/(fig\.)//g
See:
:help magic
Edit
Added backslash escaping of dot.
Problem
In Vim I have: ``` simulación (fig.),pretexto (fig.),excusa (fig.). ``` My goal is: ``` simulación ,pretexto ,excusa . ``` I have tried with: `:%s/\(fig\.\)//g`, but it doesn't work.