Skip to content

Yes! To perform a "Replace" operation using regular expressions (available under the Find > replace menu item), you can specify the fields as the following:

Replace: /([a-z])-([a-z])/ 
With: /$1$2/

where $1, $2 etc are the back-references to the first, second captured groups.

Overleaf guides

LaTeX Basics

Mathematics

Figures and tables

References and Citations

Languages

Document structure

Formatting

Fonts

Presentations

Commands

Field specific

Class files

Advanced TeX/LaTeX