GREP find and replace identical values
Hi Knowledge People
What is the simplest syntax to find identical "values" (may be words or numbers) in a document?
Thanks
Hi Knowledge People
What is the simplest syntax to find identical "values" (may be words or numbers) in a document?
Thanks
Thanks for the file. When I tried the GREP queries on your (big) file I noticed that those pesky inline graphics get in the way. They can't be accommodated in the queries I gave, so you need two additional queries.
This one goes first, before anything else. It places a tab before an inline:
Find what: (?=~a)
Change to: ~y
Find format: <Leave empty>
Change format: <Leave empty>
Then run this one at the very end to delete the tabs before the inlines:
Find what: ~y(?=~a)
Change to: <Leave empty>
Find format: <Leave empty>
Change format: <Leave empty>
So that's five queries altogether. If you use these more than once you can use this script to run them altogether:
https://creativepro.com/files/kahrel/indesign/grep_query_runner.html
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.