Grep question
- This topic has 4 replies, 3 voices, and was last updated 9 years, 11 months ago by .
- You must be logged in to reply to this topic.
Learn / Forums / General InDesign Topics / Grep question
Learn / Forums / General InDesign Topics / Grep question
Tagged: GREP
I ran into a little problem using a grep F&C. As far as I can see, you can only go as far as $0 till $9 in the change field.
Is this indeed the case, or is there a workaround for a $10? Maybe I will never have to use it again, but I just wanted to know.
Hey Gert, you can club continuous marking sub-expression into one for ex:
(dkjfkdjkjd)(dkfkdjfjd)(jfkdjjfdkj)
It will be recalled as $1 $2 $3
or you can do it like this:
((dkjfkdjkjd)(dkfkdjfjd)(jfkdjjfdkj))
it can be recalled with one found: $1
try it…
Thnkx. I knew this one, but you cannot change anything in the second case. We had to add something to almost every “$x”.
By regrouping we ended up with a $7.
Sorry for now, might be in future, InDesign will allow unlimited Founds.
One workaround is to copy the text to BBEdit and do the grep there. BBEdit goes up to $99 or actually it uses \1 to \99
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!