You can search for and replace a text portion that occurs in the document content, in names of attributes, in values of attributes or in comments of the document.
Choose
.Press Ctrl-H.
The Find And Replace tab will appear.
Figure 1. Find And Replace tab.
The Find and Replace Dialog is a " liquid dialog": it can have a different, docked appearance. For more information about liquid dialogs, see "Liquid" Dialog Boxes and Dialog Docking.
In the Find field, enter the text to find.
In the Replace field, enter the replacement text.
Figure 2. Find And Replace tab. Text to find and replacement text are entered.
From the Search drop-down list, select where to search for the text entered in the Find field:
Figure 3. Find And Replace tab. Specify where to search for text.
Text
The text will be searched for in the document content.
Attribute Values
The text will be searched for in the values of attributes.
Attribute Names
The text will be searched for in the names of attributes.
Comments
The text will be searched for in comments.
To do a case-sensitive search, check the Match Case checkbox.
To start the search at the cursor's location and move backwards toward the beginning of the document, check the Search Backwards checkbox.
You can do one of the following:
To find an occurence, click the Find Next button .
To replace the found occurence and find the next one, click the Replace button.
To replace all occurrences at a time, click the Replace All button.
When replace finishes, the following message will appear telling you the number of replaced instances.
Figure 4. Replace completed message.