ComfyUI Node
substitute
Substitutes matches of the pattern in the string with a replacement string.
substitute
- STRING
◄string—►
◄pattern—►
◄repl—►
◄count0►
CategoryBasic/STRING/regex
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| string | STRING | — | |
| pattern | STRING | — | |
| repl | STRING | — | |
| count | INT | 0 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | — |