Finding and Replacing Text in a Single File

   

To find text in a single file

  1. Move the insertion point to the location in your file where you want to begin your search.

  2. On the Edit menu, click Find and Replace.

    The Find tool window appears.

  3. 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.

  4. From the Look In combo box, select Current Document.

  5. To begin your search, click Find.

    This highlights the first occurrence of your search item.

  6. To continue searching, click Find.

To replace text in a single file

  1. Move the insertion point to the location in your file where you want to begin your search.

  2. On the Edit menu, click Find and Replace.

    The Find tool window appears.

  3. 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.

  4. From the Look In combo box, select Current Document.

  5. In the text box next to the Replace button, type the replacement text.

  6. 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.

  7. Click Replace again.

    This replaces the current selection and highlights the next occurrence of the search item.