ComfyUI Node
D2 Regex Switcher
A ComfyUI node in D2 with 8 inputs and 4 outputs.
D2 Regex Switcher
- combined_text
- prefix
- suffix
- index
◄text►
◄regex_and_outputpony
--
score_9,
--
--
highres, high quality,►
◄pre_delim▾►
◄suf_delim▾►
◄show_text▾►
◄text_check—►
◄prefix►
◄suffix►
CategoryD2
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — | |
| regex_and_output | STRING | pony -- score_9, -- -- highres, high quality, | — |
| pre_delim | COMBO | 3 options: Comma, Line break, None | |
| suf_delim | COMBO | 3 options: Comma, Line break, None | |
| show_text | COMBO | 2 options: False, True | |
| text_check | STRING | — | |
| prefixopt | STRING | — | |
| suffixopt | STRING | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| combined_text | STRING | — |
| prefix | STRING | — |
| suffix | STRING | — |
| index | INT | — |