Let's say i have a string with this format:
"1,3 litres of water, 2,5 pounds of something ,1,4 pounds of something else"
I would like to obtain an array with elements from the string, elements that are separated by ",".
how could i replace the "," with ".", but only when it is between 2 digits?
So the initial array would look like : "1.3 litres of water, 2.5 pounds of something ,1.4 pounds of something else"
Thanks