Data / Strings
data/string_replace
String Replace
Replaces occurrences of a search string (or regex) with a replacement string.
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
text |
string | The source string. | |
search |
string | ✓ | Text to find. |
replacement |
string | ✓ | Replacement text. |
Outputs
| Name | Type | Description |
|---|---|---|
result |
string | The modified string. |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
search |
string | "" |
Search |
replacement |
string | "" |
Replacement |
useRegex |
boolean | false |
Treat the search string as a Java regular expression. |