Nodes/ComfyUI-mnemic-nodes/πŸ”„ Find / Replace Text
ComfyUI Node

πŸ”„ Find / Replace Text

Replaces every occurrence of literal text with another string.

By MNeMoNiCuZΒ·Created 3 years agoΒ·Updated about 12 hours agoΒ· 105
πŸ”„ Find / Replace Text
    • string
    β—„stringβ–Ί
    β—„findβ–Ί
    β—„replaceβ–Ί
    Category⚑ MNeMiC Nodes

    Inputs (3)

    NameTypeDefaultDescription
    stringSTRINGThe text to process.
    findSTRINGLiteral text to find. Matching is case-sensitive; empty leaves the string unchanged.
    replaceSTRINGReplacement text for every match. Empty deletes the matched text.

    Outputs (1)

    NameTypeDescription
    stringSTRINGThe text with every matching occurrence replaced.