I have a line from which I need to extract a Name and the result (double) of that name.
The line looks like this:
James: 8, John: 8, Jasmin: 12, Igor: 1.54, Garry: 0, Gabe: 0.12, Lauren: 0, Grace: 81.31
I need each of them as an array of Name and Amount.
I tried to use regex but quite failed. Any assistance is much appreciated.