Nodes/comfy-ovum/re.findall (Regex FindAll)
ComfyUI Node

re.findall (Regex FindAll)

re.findall(pattern, string, flags=0) Return all non-overlapping matches of pattern in string[s], as a list of strings. The string is scanned left-to-right, and matches are returned in the order found. If one or more groups are present in the pattern, return a list of groups.

By sfinktah·Created 12 months ago·Updated 9 months ago· 6
re.findall (Regex FindAll)
  • flags
  • results
pattern
string
string_in
Categoryovum/regex

Inputs (4)

NameTypeDefaultDescription
patternSTRINGThe regular expression pattern.
stringSTRINGThe string to search. Used if `string_in` is not connected.
string_inoptSTRINGInput string or list of strings. Overrides `string` widget if connected.
flagsoptRE_FLAGS2Regex compilation flags.

Outputs (1)

NameTypeDescription
resultsSTRING