ComfyUI Node
Regex Extract (NH)
A ComfyUI node in NH-Nodes/Text with 4 inputs and 4 outputs.
Regex Extract (NH)
- result
- matched
- groups
- count
◄text►
◄pattern(\d+)►
◄mode▾►
◄replacement►
CategoryNH-Nodes/Text
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — | |
| pattern | STRING | (\d+) | — |
| mode | COMBO | 4 options: match, findall, replace, split | |
| replacementopt | STRING | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| result | STRING | — |
| matched | BOOLEAN | — |
| groups | STRING | — |
| count | INT | — |