Templating Regex

Hey guys, I am pulling Sensu data into Grafana via InfluxDB. I want to have Templating build around subscriptions but I can not get a regex to match. The subscriptions are separated by “:”, so i need the regex to exclude. I tried more than a few options with no luck including /([^:]+)/g.

When I use https://regex101.com/, /([^:]+)/g. works great.

Linux_Servers:Docker:Vision_Hosts
Linux_Servers:Docker:Vision_Hosts:Database_Servers
Linux_Servers:WAS_Testing

Thanks for the help!!


Dupe of Regex in Templating