Reply To: Code not working in GREP Style compared to Find/Change

Home Page / Forums / General InDesign Topics (CLOSED) / Code not working in GREP Style compared to Find/Change / Reply To: Code not working in GREP Style compared to Find/Change

#75790
Anonymous
Inactive

Thinking about it – it can’t work logically with hard returns.

The GREP style runs on each paragraph independently

Dorset – the GREP style looks for that combination you’ve posted, doesn’t find, doesn’t do anything.

Then it goes to the next paragraph – About the location – again doesn’t find that regex.

It’s running on each paragraph independently, unlike a find which looks at the text as a whole to find things.

You can do it – but you should use Soft Returns (shift Return) instead of hard paragraph returns.

Substitute \r with

This article was last modified on June 3, 2015

Comments (0)

Loading comments...