Reply To: Grep – String Replace, but spaces remain for removed String

Home Page / Forums / General InDesign Topics (CLOSED) / Grep – String Replace, but spaces remain for removed String / Reply To: Grep – String Replace, but spaces remain for removed String

#14393161
Nick B
Participant

Hi Nathan

If you’re using unique patterns for your substitutions (i.e. [t] will never appear for any other purpose) then you might be overcomplicating things with GREP, you can do this with regular Text find/replace.

First, insert the glyph in a text frame and copy it. Then open find/replace and put [t] in the find box and paste the glyph in the replace box. You will also need to use the Change Format box to assign the glyph font at the same time, as even though the glyph may appear correctly in the replace box the font won’t be applied. In Change Format either set the font in Basic Character Formats or in Style Options if you have a character style defined for it already.

Is there a more complex situation behind this that needs GREP?

Nick

This article was last modified on June 20, 2023

Comments (0)

Loading comments...