I have multiple topics details received from prometheus .
I want to setup templating using variables and need to write regex for which I need help .
Data is coming like this . Also I need to identify uniq value in those
Sample Data: From below query , I want only output as 12345 and 456780 .