Tool

Replace Text

Text

Replace all occurrences of a specific text fragment with another

Docs for v2.1.18, the latest version.

ID

tool-text-replace-text

Group

Text

Plugin

Tool

Keywords

rep
textRepl

Replace Text

Text

3 inputs, 1 output

Ports

Inputs

3

What the node takes in, from wires or typed values.

Text

String

Text to modify

Find

String

Fragment to replace

Replace

String

Default

Optional fragment to replace with

Outputs

1

What the node gives out, to wire into other nodes.

Text

String

Result of text replacement

Creation method#

There are two options for creating a Replace Text node.#

  • The first way to create a Replace Text node using the search list, which is opened by double left-clicking in the workspace. You can write the name of the node you need, or words associated with this node.
    • rep , textRepl
  • The second way is to select a Replace Text node from the menu that opens from the top left.
    • Menu > Tool > Text > Replace Text

Steps#

  • Create a Replace Text node.
  • Connect the text to modify to the first port.
  • Connect the fragment text to replace to the second port.
  • Connect the optional fragment text to replace with to the third port.

After creating a node, to the first port, connect the text to modify, connect the fragment text to replace to the second port, and the optional fragment to replace with to the third port. If the optional fragment is blank, all occurrences of fragments will be removed. On the output port, we will get the result of text replacement.

See also#

Characters
Text Join
Concatenate
Text Case

History

First documented in v2.1.18

Oct 20, 2026

Versions before it were published before changes were recorded.