Replace (in Text Editor)

Search | Replace

This brings up a Search and Replace dialog box, which allows you to replace a text string in the file currently being edited.