ComfyUI Node
💀Prompts Replace
Replace or remove text in prompts with advanced pattern matching options.
💀Prompts Replace
- processed_text
◄text—►
◄original_text►
◄replacement_text►
◄case_sensitivetrue►
◄use_regexfalse►
◄replace_alltrue►
Category💀PromptsO
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | Input text to process | |
| original_text | STRING | Text to find and replace | |
| replacement_text | STRING | Replacement text (empty to remove) | |
| case_sensitiveopt | BOOLEAN | true | Whether the search should be case sensitive |
| use_regexopt | BOOLEAN | false | Use regular expressions for pattern matching |
| replace_allopt | BOOLEAN | true | Replace all occurrences (vs. only first occurrence) |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| processed_text | STRING | — |