GREP Library / Word typed twice
CleanupInDesign GREP

Word typed twice

Catches doubled words in any case, like “the The” at a line break in the manuscript, and keeps the first one.

Find
Beforeand the The house
(?i)\b(\w+)\s+\1\b
Change to
Afterand the house
$1
Regular space

Run all of these at once with the free GREP Batch Processor.

All GREPs in the library · Learn GREP · Special characters