Copy link to clipboard
Copied
I want to be able to do a word search for multiple words at once in a single file in InDesign.
Right now, the only way I know how is doing one word at a time using cmd+F.
Is it possible to scan a file for multiple words? It would save me a great deal of time. Any workarounds are welcome if this feature doesn't exist.
Hi @Jennifer363723128c7r, yes it is possible!
1. Go to Find Grep ("GREP" is next to "Text" in the normal Find dialog box).
2. Enter this grep:
\b(apple|orange|pear)\b
This will find "apple" OR "orange" OR "pear". The bar character "|" means OR in grep. I put the three options in parentheses to group them, and I put \b at the start and finish so that it will match at word boundaries—to ensure it finds exactly those words, eg. it won't match "pear" in "pears" or "pearing".
There are many mor
...Copy link to clipboard
Copied
Hi @Jennifer363723128c7r, yes it is possible!
1. Go to Find Grep ("GREP" is next to "Text" in the normal Find dialog box).
2. Enter this grep:
\b(apple|orange|pear)\b
This will find "apple" OR "orange" OR "pear". The bar character "|" means OR in grep. I put the three options in parentheses to group them, and I put \b at the start and finish so that it will match at word boundaries—to ensure it finds exactly those words, eg. it won't match "pear" in "pears" or "pearing".
There are many more possibilities with grep, eg. if your grep is pears? then the ? means it will match zero or one "s", so it will match "pear" or "pears".
- Mark
Copy link to clipboard
Copied
This is exactly what I was looking for. Thank you for helping me out here - appreciate it!!
Copy link to clipboard
Copied
You're welcome!
Copy link to clipboard
Copied
If you work on a PC you could use my ID-Tasker tool for free for that.
You can use GREP suggestion - but you'll get a list of all found results - and you can browse this list - instead of just going through them one-by-one like when you use Ctrl+F.
Each result is clickable and you can sort and filter results.
Sorry, just noticed that you are working on a Mac.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now