Reply To: Script to swap around the order of certain paragraph styles?

#92907
Masood Ahmad
Participant

Hi Matt,

It would be more convenient if you could supply the peculiarities for each of those two paragraph. That can then be used in the GREP search.

However, if the lines begin with Name and Date as text, then you can use the below code to find and change and then swap it around.

GREP Find/Change:
Find What:(^Date.+)\r(^Name.+)
Change to::$2\r$1

Hope you got some idea!

This article was last modified on March 17, 2017

Comments (0)

Loading comments...