regexGroups
Extract all capture groups from the first match of a regex pattern.
string(required): the string to searchpattern(required): regex with capture groups
utlx
regexGroups("2026-05-01", "(\\d{4})-(\\d{2})-(\\d{2})")
// ["2026", "05", "01"]