beautypg.com

Search using grep expressions – Adobe InDesign User Manual

Page 313

background image

Include Hidden Layers

Include Master Pages

Include Footnotes

Case Sensitive

Whole Word

To the top

Searches for text in stories that have been checked out as part of an InCopy workflow. You cannot replace text in locked stories.

Searches for text on layers that have been hidden using the Layer Options dialog box. When text on a hidden layer is found, you can see
highlighting where the text appears, but you cannot see the text. You can replace text on hidden layers.

Text in a hidden condition is always omitted from searching.

Searches for text on master pages.

Searches footnote text.

Searches for only the word or words that exactly match the capitalization of the text in the Find What box. For example, a search for PrePress
won’t find Prepress, prepress, or PREPRESS.

Disregards search characters if they are part of another word. For example, if you search for any as a whole word, InDesign disregards many.

Search using GREP expressions

On the GREP tab of the Find/Change dialog box, you can construct GREP expressions to find alphanumeric strings and patterns in long
documents or many open documents. You can enter the GREP metacharacters manually or choose them from the Special Characters For Search
list. GREP searches are case-sensitive by default.

InDesign Secrets provides a list of GREP resources at

InDesign GREP

.

1. Choose Edit > Find/Change, and click the GREP tab.

2. At the bottom of the dialog box, specify the range of your search from the Search menu, and click icons to include locked layers, master

pages, footnotes, and other items in the search.

3. In the Find What box, do any of the following to construct a GREP expression:

Enter the search expression manually. (See

Metacharacters for searching

.)

Click the Special Characters For Search icon to the right of the Find What option and choose options from the Locations, Repeat, Match,
Modifiers, and Posix submenus to help construct the search expression.

4. In the Change To box, type or paste the replacement text.

5. Click Find.

6. To continue searching, click Find Next, Change (to change the current occurrence), Change All (a message indicates the total number of

changes), or Change/Find (to change the current occurrence and search for the next one.

You can also use GREP Styles to apply a character style to text that conforms to a GREP expression. In fact, the GREP Styles dialog box is a
good way to test your GREP expression. Add the examples you want to find to a paragraph, and then specify a character style and GREP
expression in the GREP Styles dialog box. When you turn on Preview, you can edit the expression until it affects all your examples properly.

308

This manual is related to the following products: