How to remove double quotes using rename by regex?

I have the legends displayed like below in timeseries panel,


I want to display it like below,

name:server1, min:-1.00, max:1.00, sensor:Temp

How can I do?

You can do it with multiple regexes.

For example, if the value in the legend looks like this:

Than the following 3 regexes convert it to this:

The first regex removes the value string and the brackets
The second removes the first set of quotation marks
The third removes the second set of quotation marks

1 Like