Nodes/comfyui-db0-pack/Regex Match To String
ComfyUI Node

Regex Match To String

If regex matches, returns a string,, else return another string

By db0·Created 5 months ago·Updated 5 months ago· 0
Regex Match To String
    • STRING
    string
    regex_pattern
    output_on_match
    output_on_non_match
    case_insensitivetrue
    multilinefalse
    dotallfalse
    Categorydb0

    Inputs (7)

    NameTypeDefaultDescription
    stringSTRING
    regex_patternSTRING
    output_on_matchSTRING
    output_on_non_matchSTRING
    case_insensitiveoptBOOLEANtrue
    multilineoptBOOLEANfalse
    dotalloptBOOLEANfalseWhen enabled, the dot (.) character will match any character including newline characters. When disabled, dots won't match newlines.

    Outputs (1)

    NameTypeDescription
    STRINGSTRING