Notch Notch Manual 0.9.23
 Light | Dark
Replace Text String

Replace Text String

Replace text within a text string.

image

image

Example .dfx

Method #

This node replaces a particular string of text within a larger body of text, for use within a Text node or to be processed by other text string nodes.

Parameters

These properties control the core behaviours of the node.

ParameterDetails
Text StringThe text string to replace within.
Text String To ReplaceThe string in the text to replace.
Replace With Text StringThe string you want to replace with.
Use Regular ExpressionUse regular expressions to find and replace nodes.
Regular ExpressionUse regular expressions to add greater controls to selecting which text to replace.
Replace All Instances of Text StringOptionally replace all occurrences of the string or just the first.
Case-sensitiveOptionally only replace those strings that match case.

Inputs

NameDescriptionTypical Input
Text StringThe text string to replace within.Text String
Text String To ReplaceThe text string in the text to be replaced.Text String
Replace With Text StringThe text string you want to replace with.Text String