Inputs
| Parameter | Description | Data Type | Required | Range |
|---|---|---|---|---|
string | The input text string to search and replace within | STRING | Yes | - |
regex_pattern | The regular expression pattern to search for in the input string | STRING | Yes | - |
replace | The replacement text to substitute for matched patterns | STRING | Yes | - |
case_insensitive | When enabled, makes the pattern matching ignore case differences (default: True) | BOOLEAN | No | - |
multiline | When enabled, changes the behavior of ^ and $ to match at the start/end of each line rather than just the start/end of the entire string (default: False) | BOOLEAN | No | - |
dotall | When enabled, the dot (.) character will match any character including newline characters. When disabled, dots won’t match newlines (default: False) | BOOLEAN | No | - |
count | Maximum number of replacements to make. Set to 0 to replace all occurrences (default). Set to 1 to replace only the first match, 2 for the first two matches, etc. (default: 0) | INT | No | 0-100 |
Outputs
| Output Name | Description | Data Type |
|---|---|---|
output | The modified string with the specified replacements applied | STRING |
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
Source fingerprint (SHA-256):
58d4ec055aa5901b0e536bb2ca6993053ea85a9269d09cdcdf584df935d6876d