ComfyUI Node

Text Replace (Legacy)

A ComfyUI node in DebugPadawan/Text with 4 inputs and 3 outputs.

By DebugPadawan·Created about a year ago·Updated 5 months ago· 2
Text Replace (Legacy)
    • text
    • matches
    • found
    textMy phone is 123-456-7890
    pattern(\d{3})-(\d{3}-\d{4})
    replace(\1) \2
    flagsNone
    CategoryDebugPadawan/Text

    Inputs (4)

    NameTypeDefaultDescription
    textSTRINGMy phone is 123-456-7890
    patternSTRING(\d{3})-(\d{3}-\d{4})
    replaceSTRING(\1) \2
    flagsoptCOMBONone4 options: None, IGNORECASE, MULTILINE, DOTALL

    Outputs (3)

    NameTypeDescription
    textSTRING
    matchesLIST
    foundBOOLEAN