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.


Thanks for the help!!

Dupe of Regex in Templating