Replace

replace [<text>] [<to replace>] (<replace with>)

Replaces instances of a text with a new text inside a larger piece of text.

Parameters:

  1. The whole text to replace parts of.
  2. The piece of text that you want to replace.
  3. The text to replace the matching values with. The default value is blank, causing the matched pieces of text to be removed.

Returns: The modified version of the text with the pieces of text replaced.