substitute

Basic data handling: RegexSub

Substitutes matches of the pattern in the string with a replacement string.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (4)

NameTypeRequired
stringSTRINGrequired
patternSTRINGrequired
replSTRINGrequired
countINTrequired

Outputs (1)

NameType
STRINGSTRING