ComfyUI Node: Advanced Text Filter

Authored by rookiestar28

Created

Updated

16 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Category

ComfyUI Text Processor

Inputs

text STRING
concat_mode
  • disabled
  • prepend_external_text
  • append_external_text
operation
  • find and remove (use optional_text)
  • find and replace (use optional_text, replace_with_text)
  • find all (extract) (use optional_text)
  • batch replace (use replacement_rules)
  • extract between
  • remove between
  • extract before start text
  • extract after start text
  • remove before start text
  • remove after start text
  • remove empty lines
  • remove newlines
  • strip lines (trim)
  • remove all whitespace (keep newlines)
  • LLM: extract code block (```)
  • LLM: extract JSON object ({...})
  • LLM: clean markdown formatting
start_text STRING
end_text STRING
optional_text_input STRING
replace_with_text STRING
use_regex BOOLEAN
case_conversion
  • disabled
  • to UPPERCASE
  • to lowercase
if_not_found
  • return original text
  • return empty string
  • trigger error
external_text *
replacement_rules STRING

Outputs

STRING

STRING

Extension: ComfyUI Text Processor

The ultimate text processing suite for ComfyUI. Now features Batch Cleaning, LLM Parsing, Dynamic Wildcards, Image and Logic Tools for sophisticated automation.

Authored by rookiestar28

Looking for a different node?

Other ComfyUI Text Processor nodes

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Learn more