Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Very specific GREP query

Tagged: 

Return to Member Forum

  • Author
    Posts
    • #102944

      Hello everyone.

      I need a very specific GREP query, which I am unable to figure out myself.

      The setup is as this:

      First sentence\r
      Second sentence\r
      Third sentence\r

      The sentences are all in separate, linked text boxes.
      This recurs on 300 pages.

      Now I need to address only the first row.

      But wait… there’s more! Following challenges are given due to technical restrictions:
      All sentences have varying word counts
      I can not change the sentences (not able to add “end-nested-style-here-marker” or changing \r in )
      I can not unlink the text boxes; or use only one)

      The most logical method for me would be to “any words till first \r” but either I think incorrect, or it does not work, because it interprets the second sentence as this as well? One thing I tried for example would be [\u]|\r?

      Do I not understand how counting works? Or is this really that difficult?

      (Nested and line styles don’t work, because of the technical limitations.)

      Thanks for your help.

    • #102946

      If only the 3 text frames are threaded together [groups of 3 text frames threaded]:

      \A.+

      Best,
      Michel, frm FRIdNGE

      • #102948

        Thanks for the help.
        After all this hassle I finally realized my problem lies in another nature and can’t be fixed :)
        The longer you stare at something the more blind you become.

        Cheers.

Viewing 1 reply thread
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads