Word replacement

How can I automatically replace a word in a document, with another, eg. character name.

Chapter 20.1 in the manual - Searching and Replacing