Finding and Replacing Text in a Single File
To find text in a single file
-
Move the insertion point to the location in your file where you want to begin your search.
-
On the Edit menu, click Find and Replace.
The Find tool window appears.
-
In the text box next to the Find button, type the search text.
You can also use the drop-down list to select from a list of your previous search strings.
-
From the Look In combo box, select Current Document.
-
To begin your search, click Find.
This highlights the first occurrence of your search item.
-
To continue searching, click Find.
To replace text in a single file
-
Move the insertion point to the location in your file where you want to begin your search.
-
On the Edit menu, click Find and Replace.
The Find tool window appears.
-
In the text box next to the Find button, type the search text.
You can also use the drop-down list to select from a list of your previous search strings.
-
From the Look In combo box, select Current Document.
-
In the text box next to the Replace button, type the replacement text.
-
Click Replace.
The first occurrence of your search item is highlighted in the Text editor.
Note To replace all occurrences within the file, click Replace All.
-
Click Replace again.
This replaces the current selection and highlights the next occurrence of the search item.