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.
re.findall (Regex FindAll)
- flags
- results
◄pattern►
◄string►
◄string_in—►
Categoryovum/regex
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| pattern | STRING | The regular expression pattern. | |
| string | STRING | The string to search. Used if `string_in` is not connected. | |
| string_inopt | STRING | Input string or list of strings. Overrides `string` widget if connected. | |
| flagsopt | RE_FLAGS | 2 | Regex compilation flags. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| results | STRING | — |