ComfyUI Node
Pi Text Extractor
A ComfyUI node in Pi with 9 inputs and 2 outputs.
Pi Text Extractor
- text
- found
◄text►
◄extraction_modeauto►
◄xml_tagprompt►
◄fence_language►
◄start_delimiter►
◄end_delimiter►
◄occurrencefirst►
◄strip_whitespacetrue►
◄fail_if_missingfalse►
CategoryPi
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — | |
| extraction_mode | COMBO | auto | 4 options: auto, xml_tag, code_fence, between_delimiters |
| xml_tag | STRING | prompt | — |
| fence_language | STRING | — | |
| start_delimiter | STRING | — | |
| end_delimiter | STRING | — | |
| occurrence | COMBO | first | 2 options: first, last |
| strip_whitespace | BOOLEAN | true | — |
| fail_if_missing | BOOLEAN | false | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |
| found | BOOLEAN | — |