Nodes/ComfyUI-iTools/Regex Editor
ComfyUI Node

Regex Editor

Uses Regex to find, match, or modify text. Returns matches if no replacement is set, otherwise, replaces matches or non-matches as specified.

By MohammadAboulEla·Created 2 years ago·Updated 6 days ago· 236
Regex Editor
    • match
    text_in
    regex_pattern
    pattern_pickercustom
    replace_match
    replace_non_match
    CategoryiTools

    Inputs (5)

    NameTypeDefaultDescription
    text_inSTRING
    regex_patternSTRING
    pattern_pickerCOMBOcustom27 options: custom, contains_hello, cat_or_dog, starts_with_abc, ends_with_xyz, any_character, +21
    replace_matchSTRING
    replace_non_matchSTRING

    Outputs (1)

    NameTypeDescription
    matchSTRING