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
Searchterm. Defaults tofalse, 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 Boundaryset tofalsewould match in "banana". WhenWord Boundaryset totrue, it would not match. Defaults totrue. This does nothing when RegExp is selected foralgorithm.
Outputs
- Result − The resulting text with the replacement(s).

