GREP style to the end of paragraph
- This topic has 3 replies, 2 voices, and was last updated 6 years, 4 months ago by .
- You must be logged in to reply to this topic.
Learn / Forums / General InDesign Topics / GREP style to the end of paragraph
Learn / Forums / General InDesign Topics / GREP style to the end of paragraph
Tagged: GREP, paragraphy, style
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
This could do the magic if I understood well:
\bCA$
meaning:
\b = word boundary
CA = literal CA
$ = end of paragraph
Let’s try it
Claudio… You are a genius… I tried it just now and it seems to work :)
Thanks a lot.
Not a Genius, only an ACI with long experience…
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies allows us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
To provide the best experiences, we and our partners use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us and our partners to process personal data such as browsing behavior or unique IDs on this site and show (non-) personalized ads. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Click below to consent to the above or make granular choices. Your choices will be applied to this site only. You can change your settings at any time, including withdrawing your consent, by using the toggles on the Cookie Policy, or by clicking on the manage consent button at the bottom of the screen.
You have to be logged in to save.
Not a member? Join Today - it's FREE!