Skip to content

The "Replace Text" Node ​

Replaces a search term in a text with a replacement.

Replace Text

  • Result
  • Text
  • Search
  • Replace
  • Regexp
  • First Match Only
  • Case Sensitive
  • Word Boundary

Inputs ​

  • Text − The text to search through.
  • Search − The term to search for.
  • Replace − The replacement text.
  • Regexp − Whether to treat the search term as a ECMAScript (JavaScript) regular expression. This supports replacement patterns.
  • First Match Only − Whether to only replace the first match, or every match.
  • Case Sensitive − Whether or not to search for the exact capitalization used in the Search term. Defaults to false, meaning terms are matched irrespective of their capitalization.
  • Word Boundary − Whether or not to match "the whole term". E.g. The search term "ban" with Word Boundary set to false would match in "banana". When Word Boundary set to true, it would not match. Defaults to true. This does nothing when RegExp is selected for algorithm.

Outputs ​

  • Result − The resulting text with the replacement(s).