Reply To: Swap between lines of text — GREP?

Home Page / Forums / General InDesign Topics (CLOSED) / Swap between lines of text — GREP? / Reply To: Swap between lines of text — GREP?

#98835
Masood Ahmad
Participant

As I’ll be leaving shortly, I assume the text is as-is. Try this:

Step 1: This find/change should not be repeated throughout the document. Should be run once only.
GREP Find/Change:
Find What: (^Line \d\u.+\r)(^Line \d\u.+\r)(^Line \d\u.+\r)
Change to: $2$3$1

Step 2: To apply style to the first line.
GREP Find/Change:
Find What: ^Line \d\u.+\r(?=(^Line \d\u.+\r){2})
Change Format: Paragraph Style 2

Let me know if this works for you :)

This article was last modified on October 12, 2017

Comments (0)

Loading comments...