After using an online web tool to convert an Excel file to JSON, I now require assistance in replacing certain values within the JSON. Currently, I am using Sublime Text 2.
{"Time (GMT-04:00)":"2010-07-06 08:30:00","Skin temp - average":"34,2043","Step Counter":172,"Sleep":"0,0","Physical Activity":1,"Energy expenditure":"11,4371","Annotations":"Running"}
It is evident that some numbers were mistakenly converted to strings due to the presence of a comma:
"Skin temp - average":"34,2043"
My goal is to remove the quotes surrounding all numbers and replace the commas with periods. Is it feasible to achieve this using regular expressions in ST2?
For example:
"Skin temp - average":34.2043
I appreciate any assistance provided. Thank you.