Reply To: Using GREP in paragraph style to format only the first occurrence of a phrase

Home Page / Forums / General InDesign Topics (CLOSED) / Using GREP in paragraph style to format only the first occurrence of a phrase / Reply To: Using GREP in paragraph style to format only the first occurrence of a phrase

#100252
Graham Park
Member

Sorry I should be more precise.
Two GREP in your paragraph style, the first one will add your text style to all $prices, the second one will replace the format with the normal character style.

First
Apply Style This is the style you want for the price.
To Test \$\S+

Second
Apply Style: Normal, create a style that has the format of this paragraph text
To Text (?<=is)\$\S+

This article was last modified on December 10, 2017

Comments (0)

Loading comments...