Nodes/ComfyUI-EZ-AF-Nodes/EZ Extract Prompt
ComfyUI Node

EZ Extract Prompt

Extracts lines of text based on the searchword

By ez-af·Created 2 years ago·Updated 3 months ago· 28
EZ Extract Prompt
    • STRING
    string
    searchword
    extract_allfalse
    pass_originalfalse
    CategoryEZ NODES

    Inputs (4)

    NameTypeDefaultDescription
    stringSTRINGText to be processed.
    searchwordSTRINGHeader name to be searched.
    extract_allBOOLEANfalseIf true, extracts the original text of all headers, removing extra line breaks.
    pass_originalBOOLEANfalseIf true, passes the original input to output when no searchword is found.

    Outputs (1)

    NameTypeDescription
    STRINGSTRINGProcessed text.