GREP of the Month: Reveal Codes
Normally, you can’t target text with mixed formatting in a GREP search. But with this workaround, it’s a cinch.
A limitation of GREP searches (and of normal text searches too) is that everything you’re looking for must be in the same style. Thus, it’s not possible to formulate a GREP expression along the lines of “find certain punctuation in italic that is followed by a non-italic space.” This can be a bad limitation, but fortunately there’s a way around this problem: you can reveal all or some formatting codes.
. . . .
This article from InDesign Magazine is for InDesignSecrets premium subscribers only. To continue reading, please log in above, or sign up for a premium membership today! Thanks for supporting InDesignSecrets!