I have a string which looks like that (it is just an example, it has more that 1k lines):
},
series: [{x:1585937577000,y:0.1000},{x:1585937757000,y:0.1000},{x:1585937937000,y:0.1000},{x:1585938117000,y:0.0800},{x:1585938297000,y:0.0800},{x:1585938478000,y:0.0600},{x:1585939739000,y:0.0200},{x:1585939919000,y:0.0200},{x:1585940099000,y:0.0000}],
yAxis: 0,
color: "rgba(80,180,50,1)",
I am interested only in information in dictionaries, I want to get a list of x values and second list of y values, only that, rest is garbage. Just values without key. I've tried some regex like:
x:(.*)\,
x:\.(.*?),
x:\.(.*?),y:
However it doesn't work, propably beacuse there are no white spaces between. I am confused with any further ideas, is there easy way to do this?
\.here:x:\.(.*?),? None of the values ofxstart with a dot, and it seems to work if you remove it: regex101.com/r/My4snv/1