GREP style to the end of paragraph

Learn / Forums / General InDesign Topics / GREP style to the end of paragraph

Tagged: , ,

Viewing 3 reply threads
  • Author
    Posts
    • #100240

      Hi…
      Although I use InDesign from day one I never used GREP styles and now I need their help but I’m stuck!
      I am doing a redesign of a magazine which contains letters CA at the end of every story!
      I have created character style to style the letters but don’t know how to create grep expression that will style only those two last characters at the end of a paragraph!
      I would like to note that this will not be the exact end of a story since email address of an author will go below.
      So, please help! How to style last two characters in a paragraph?

      Thank you

    • #100241

      This could do the magic if I understood well:

      \bCA$

      meaning:
      \b = word boundary
      CA = literal CA
      $ = end of paragraph

      Let’s try it

    • #100242

      Claudio… You are a genius… I tried it just now and it seems to work :)

      Thanks a lot.

    • #100243

      Not a Genius, only an ACI with long experience…

Viewing 3 reply threads
  • You must be logged in to reply to this topic.
>