Skip to content

Replace String Node

Utils/String

Replace String

Replaces occurrences of a substring or regex pattern within a string.

string_replacestd
Inputs4
Outputs1
Security exposure10/10
Packagestd

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

No score metadata has been set for this node yet.

Input Pins

4

String

String
string

Input String

Pattern

String
pattern

Substring or regex pattern to replace

Replacement

String
replacement

Replacement string (supports $1, $2, ... for regex capture groups)

Is Regex

Boolean
is_regex

Treat the pattern as a regular expression

Default false

Output Pins

1

New String

String
new_string

String with replacements

Node Info

Internal name
string_replace
Category
Utils/String
Version
1