Hello,
In a long text that runs across several text boxes (with columns breaks), I have a situation in which every first two lines in every OTHER text box is wrongly ordered. Let me explain in more detail.
//TEXT BOX 1:
Line 1A – Paragraph Style 1 / Character Style 1
Line 1B – Paragraph Style 1 / Character Style 1
//COLUMNS BREAK
//TEXT BOX 2:
Line 2A – Paragraph Style 2 / No Character Style
Line 2B – Paragraph Style 1 / No Character Style
Line 2C – Paragraph Style 1 / No Character Style
//PARAGRAPH BREAK
Line 2D – Paragraph Style 2 / No Character Style
Line 2E – Paragraph Style 1 / No Character Style
Line 2F – Paragraph Style 1 / No Character Style
//COLUMN BREAK
//TEXT BOX 3:
Line 3A – Paragraph Style 1 / Character Style 1
Line 3B – Paragraph Style 1 / Character Style 1
//COLUMN BREAK
//TEXT BOX 4:
Line 4A – Paragraph Style 2 / No Character Style
Line 4B – Paragraph Style 1 / No Character Style
Line 4C – Paragraph Style 1 / No Character Style
//PARAGRAPH BREAK
Line 4D – Paragraph Style 2 / No Character Style
Line 4E – Paragraph Style 1 / No Character Style
Line 4F – Paragraph Style 1 / No Character Style
//COLUMN BREAK
…
TEXT BOX 500
So, what I need is this:
Find:
2A
2B
2C
Replace:
2B
2C
2A
The above goes the same for 4A/4B/4C, 6A/6B/6C, 8A/8B/8C, etc.
Essentially it means pushing down 2A two lines down, but the styles also need to be reapplied – 2B, which is now at the top should have Paragraph Style 2, and 2A, with is now at the bottom, should have Paragraph Style 1.
Important notes:
2A and 2B are always letters
2C is always digits
Even if there is an expression that can do this, how do I go about lines 2D, 2E, and 2F? they have identical styles as lines 2A, 2B, and 2C, and the only difference is that they come after a PARAGRAPH BREAK and not a COLUMN BREAK.
It’s a long shot, but I thought I’d give it a try..
Thanks!