regexNamedGroups
Extract named capture groups from the first match of a regex pattern.
string(required): the string to searchpattern(required): regex with named groups(?<name>...)
utlx
regexNamedGroups("2026-05-01", "(?<year>\\d{4})-(?<month>\\d{2})-(?<day>\\d{2})")
// {"year": "2026", "month": "05", "day": "01"}