Keystroke: ⌘ + R
(See also: Finding and Replacing Codes and Styles)
The Replace dialog is similar to the Edit: Find... dialog, with the addition of a replacement text string.
If the search string is found, you are asked if you wish to replace it. The possible answers are Yes, No, All or Stop, which you can trigger with Y, N, A or S, respectively. Replace mode continues until no more matches are found, or you respond with either A or S at the Replace prompt.
Find and Replace starts from the cursor position in your document, or from the start of highlighted text. To move your cursor to the beginning of the document press Ctrl + Home. To move it to the end press Ctrl + End.
If you have started your search from a point mid-document, you receive the following prompt when you reach the end of the document.
When the process is complete or you select Stop, the following dialog appears, showing how many replacements have been made.
Should no text be found matching the criteria you entered, you see the following warning.