Inputs
Outputs
The action finds all matches even if the connected regex does not have the
Global flag. Its other flags, such as Ignore case, Multiline, and
Dot-all, are preserved.
Example: extract invoice details
Create a Regular Expression with:Invoice INV-1042: $75.50, the first result contains:
- Match —
Invoice INV-1042: $75.50 - First capture group —
INV-1042 - Second capture group —
75.50
If the pattern has no capture groups, each result still has Match, while
Capture Groups is empty. If nothing matches, Matches is an empty list.