Reply To: Apply style to every other/every third paragraph?

Home Page / Forums / General InDesign Topics (CLOSED) / Apply style to every other/every third paragraph? / Reply To: Apply style to every other/every third paragraph?

#59298
Lala Lala
Participant

I was actually wondering if there is any search/replace I could have done that would have changed the break for just the first line of each group. Right now every line ends with ^p. I was wondering if there's a grep I could do that would end the product line in each block (basically every 4th line) with ^n instead.

Then another search/replace would let me follow every line break with an “end nested style” character.

In retrospect that wouldn't have helped, it'd just apply the style to the very first line of the first block and then the style's done for the rest of the text. Too bad there's no “begin nested style” character.

Still, for my own education, is such a search and replace possible? Either change the ending character of just every 4th line, or maybe search for the pattern

^p^p [some random text] ^p, and replace with

^p^p [same random text] ^n?

This article was last modified on April 16, 2011

Comments (0)

Loading comments...