I have a string like so:
11547778:115,12
My question is, is there an expression that match the last number if it is made of a single digit then use the $.replace() function to put a 0 in front of it for exemple:
84500015:217,8 will become-> 84500015:217,08
To achieve this you can look for a string which specifically ends with a comma and a single number, something like this: