GREP Help!
- This topic has 1 reply, 2 voices, and was last updated 8 years, 2 months ago by .
- You must be logged in to reply to this topic.
Learn / Forums / General InDesign Topics / GREP Help!
Learn / Forums / General InDesign Topics / GREP Help!
I need to create a grep that can find the start of a line and any words that happen before a tab with leader and a $. The look is below. We create compensation statements where not everyone has the same benefits, so I need to do a find change to delete the entire lines that have no value after the $.
Sample: Let’s say a person has a vale next to Regular Pay and HSA, but not 401K. I need to be able to find that variable benefit that a person does not have an delete the whole line.
Regular Pay……..$100
401K……………$
HSA…………….$300
Look for \$$
which stands for ‘Dollar symbol at the end of a line’.
\$ matches the Dollar symbol, the following $ stands for ‘end of the line/paragraph’.
Peter
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!