Doubled punctuation before a dash
Reduces multiple punctuation marks before dashes to a single mark. Captures first punctuation and removes duplicates.
Find
BeforeHello!!—world
([.!?])[.!?]+(?=[—–-])Change to
AfterHello!—world
$1Reduces multiple punctuation marks before dashes to a single mark. Captures first punctuation and removes duplicates.
([.!?])[.!?]+(?=[—–-])$1Run all of these at once with the free GREP Batch Processor.