Nodes/NH-Nodes/Regex Extract (NH)
ComfyUI Node

Regex Extract (NH)

A ComfyUI node in NH-Nodes/Text with 4 inputs and 4 outputs.

By jetthuangai·Created 5 months ago·Updated about 14 hours ago· 6
Regex Extract (NH)
    • result
    • matched
    • groups
    • count
    text
    pattern(\d+)
    mode
    replacement
    CategoryNH-Nodes/Text

    Inputs (4)

    NameTypeDefaultDescription
    textSTRING
    patternSTRING(\d+)
    modeCOMBO4 options: match, findall, replace, split
    replacementoptSTRING

    Outputs (4)

    NameTypeDescription
    resultSTRING
    matchedBOOLEAN
    groupsSTRING
    countINT