replace-string - Replace string with new string
n replace-string (esc r)
replace-string replaces all occurrences of one string with another string. The replacement starts at the current location of the cursor and goes to the end of the current buffer.
A numeric argument positive n limits the number of strings replaced to n. A negative argument n limits the number of lines in which the replacement may take place, e.g. a value of -15 restricts the replacement of the string to the next 15 lines from the current cursor position.
See Operating Modes for a description of the magic(2m) and exact(2m) modes which change the search space.
buffer-mode(2),
query-replace-string(2),
search-forward(2).
Regular Expressions
(c) Copyright JASSPA 1999
Last Modified: 1999/06/24
Generated On: 1999/12/01