Skip to main content
Runs a regular expression against the input and emits the first match’s capture groups as a list. Sibling of Match (boolean test). Capture is the right tool when you need pieces of the input — e.g. splitting "Jane Doe" into ["Jane", "Doe"], or pulling a date out of a free-text field. Pair with Compose String to reformat the captures back into a single string.

Configuration

  • Regex pattern — wire the pattern from another node, or type a literal in the inspector. Use parentheses to mark the parts you want captured, e.g. (\w+)\s+(\w+).
  • Case insensitive — when on, matching ignores letter case.
  • Unicode — when on, character classes like \w, \d, and \s recognise non-ASCII letters and digits (e.g. Å, Ä, Ö).

Tips

  • Only the first match is captured. If you need every match across the input, anchor the pattern or split the input upstream first.
  • A pattern with no capture groups produces an empty list.
  • On no-match, the output is also an empty list — Compose String tolerates an empty input list (placeholders are stripped) so the chain still produces something sensible.

Ports