String extraction Regex : influxDB

Team, Can we perform regular expressions on Strings and store them in influxDB?
for ex: Have data in measurements where strings contain

Downlink Access switch sw-s1a; switch_mon:ignore_mac

Is it possible to extract only the sub-string sw-s1a

Kindly let me know. Thanks

Documentation does mention it supports GoLang Regex. Only question is how can we get custom groups i.e. group(1) / group(2) etc. equivalent in an SQL like expression? Thanks