Replacing in the Current File

The Replace command searches the current file for a search pattern, and replaces the pattern with a new pattern. The range of replacement can be the whole file, or just the current selection. See also “Replace”.