Reply To: GREP style formatting suppression

Home Page / Forums / General InDesign Topics (CLOSED) / GREP style formatting suppression / Reply To: GREP style formatting suppression

#78571
Peter Kahrel
Participant

To make text disappear, add a character style and name it e.g. ‘hide’. Set the point size to 0.1 and the horizontal scale to 1%. And for good measure set the colour to Paper. Then define two GREP styles in the paragraph style(s) using the ‘hide character style:

^\[E\d:
^.+?\]

The first one hides [E1:, [E2:, etc, the second one hides the first bracket in the paragraph. This assumes that the first ] in every paragraph is the closing bracket of the code.

As to conditional formatting, you could look into conditional text if you want to maintain two texts in one document.

This article was last modified on October 5, 2015

Comments (0)

Loading comments...