Category Archives: LaTeX

Regular expression for LaTeX

To change dollar signs into backslash followed by parenthesis, search for


and replace by


So for example




To change double dollars signs into the preferable form, search for


and replace by


Hannes Diener points out that this does not work for dollar signs that are nested within \text or \mbox environments.

Another good one is:
Search for


Replace by


Another one is:


replace by