Use the
Replace dialog box to replace a string in a file with another string.
-
Click
.
The
Replace dialog box appears.
-
Type the text that you want to replace into the
Find what field.
The default string is the last string you searched for.
-
Type the text with which you want to replace the text in the
Find what field into the
Replace with field.
-
Check the
Case sensitive check box to make the search sensitive to the case of the text string.
The default is to search with case sensitivity off.
-
Set the direction for the search.
- Select
Up to have the search go from the current location of the cursor towards the top, or beginning, of the file.
- Select
Down to have the search go from the current location of the cursor towards the bottom, or end, of the file. This is the default
direction.
-
Click
Find Next to locate the next occurrence of the text in the
Find What field.
If the search is successful, the first occurrence of the text string in the file is highlighted. If the search is not successful,
an informational message displays.
-
Click
Replace to replace the next occurrence of the text in the
Find What field with the text in the
Replace with field.
-
Click
Replace All to replace every instance of the text in the
Find What field with the text in the
Replace with field.