Reply To: GREP styles and soft returns

Home Page / Forums / General InDesign Topics (CLOSED) / GREP styles and soft returns / Reply To: GREP styles and soft returns

#78437
Gavin Anderson
Participant

This works great for GREP which is intended to apply to words at the start of the sentence, but I am working on one which is intended to apply to all the words between braces (\{) and I am finding that it gets broken by the soft return. Unfortunately Jong’s solution doesn’t help here, because I don’t have control over how the customer service team decides to wrap the text.

Here’s an example paragraph:
Enjoy our {description; i.e., indoor/outdoor/infinity} pool, located on {location within hotel}. Pool towels, umbrellas and chaise lounge [soft return]
services are available daily, beginning at {time}. {Insert optional text about pool-side or [soft return]
beach-side cuisine and beverages are [soft return]
available during specific hours.}

The object is to get the code to apply a character color to everything between braces, but only between braces. So, normally, I would just put:

\{.+?\}

But that is getting broken by the soft returns.

This article was last modified on October 27, 2015

Comments (0)

Loading comments...