Text: Regexp capture
Capture text from a string using regular expression. Each capture group in the pattern becomes its own output connector — editing the pattern reshapes the node.
Example
Regexp: (?<package>\w+) (?<size>\d+)
Input: Pack 42
Ouput:
- connector "package" (group_1): Pack
- connector "size" (group_2): 42
Parameters
Regexprequired
A regexp to capture. Uses the Rust regex flavor — no backreferences and no lookaround. The pattern is validated at save time; uncompilable patterns are rejected.
Skip if no match
If checked, ignore node when capture fail.
Input
Textrequired
The text to capture from.
Output
Captured groups
One connector per capture group in the pattern, keyed group_1,
group_2, … (1-indexed). A named group uses its name as the
connector's label; an unnamed group is labeled "Group: <n>". A
group that does not participate in the match emits nothing; a pattern
with zero capture groups produces zero outputs.