2 Replies Latest reply on Apr 30, 2012 12:39 PM by Chris Z.

    Applying a style the nth line of any paragraph using GREP

    Chris Z.

      Hi,

      I'm attempting to apply a character style to the third line of a paragraph that is broken with forced line breaks.

       

      By doing a GREP search I can find the first two lines by using the following string:

       

      .*\n.*\n

       

      So, I reasoned that by I'd be able to find the following line by using a positive lookbehind, but no dice. . .

       

      It doesn't work.

       

      Does anyone have any ideas?

       

      Thanks,

      Chris