Next: , Previous: , Up: Search Commands   [Contents][Index]


4.5.5 ReplaceAll

Syntax: ReplaceAll [string]
Abbreviation: RA

is similar to ReplaceOnce, but replaces all occurrences of the last search pattern between the cursor position and the end of the document (in the direction indicated by the SearchBack flag) with the given replacement string.

If the optional argument string is not specified, you can enter it on the input line, the default being the last string used.

Note that a slingle Undo will restore all the occurrences of the search pattern replaced by ReplaceAll. See Undo.