Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Possible to do a word search on multiple words at once?

Community Beginner ,
Nov 20, 2024 Nov 20, 2024

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.

 

 

 

 

TOPICS
How to , Scripting , Type
693
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 20, 2024 Nov 20, 2024

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

...
Translate
Community Expert ,
Nov 20, 2024 Nov 20, 2024

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

 

Screenshot 2024-11-21 at 08.57.03.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 25, 2024 Nov 25, 2024

This is exactly what I was looking for. Thank you for helping me out here - appreciate it!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 25, 2024 Nov 25, 2024
LATEST

You're welcome!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 20, 2024 Nov 20, 2024

@Jennifer363723128c7r

 

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. 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines