← Back to the Data Processing category

Regex Replace

This node replaces all matches of a regular expression pattern in a string.

TextRegexReplace
Try this node

Inputs

NameTypeRequiredDescription
stringstringYesThe string to search and replace in
patternstringYesThe regex pattern
replacementstringYesThe replacement string
flagsstringNoRegex flags (e.g. 'i', 'g', 'm'). Optional. 'g' is recommended for global replace.

Outputs

NameTypeDescription
resultstringThe resulting string after replacement

Related Nodes in Data Processing