Regex Replace

Replaces matches of a regular expression pattern in the string. The replacement string can reference captures: $0 for the whole match and $1, $2, etc. for capture groups.

Interface

Inputs

ParameterDetailsPossible Types
String

Primary Input

String
Pattern

The regular expression pattern to search for.

Default: ""

String
Replacement

The replacement string. Use $0 for the whole match and $1, $2, etc. for capture groups.

Default: ""

String
Replace All

Replace all matches. When disabled, only the first match is replaced.

Default: true

bool
Case Insensitive

Match letters regardless of case.

Default: false

bool
Multiline

Make ^ and $ match the start and end of each line, not just the whole string.

Default: false

bool

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

String