The ReplaceRegex Node allows the user to replace parts of a String using regular expressions to search for the pattern to replace.
Scope: Project, Scene, Function, Prefab.
String
String in which some parts will be replaced, if none is given in the Input Socket.
From
The pattern that will be searched for and replaced using regular expressions, if none is given in the Input Socket.
To
String that will replace the pattern defined in From, if none is given in the Input Socket.
Pulse Input (►)
Pulse
A standard Input Pulse, to trigger the execution of the Node.
String in which some parts will be replaced.
The pattern that will be searched for and replaced using regular expressions.
String that will replace the pattern defined in From.
Pulse Output (►)
A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.
Result
The resulting String after the pattern has been replaced.
Replace
MatchRegex
Regular expressionarrow-up-right on Wikipedia.
Last updated 11 months ago