I would like to know what is the regular expression to transform a string that starts with a minus sign, followed by a comma and a sequence of digits, such as -.13082, into a string that starts with a minus sign followed by the first digit of the previous sequence, followed by a dot and then the rest of the digits.
This would transform -.13082
to -1.3082
or -.26750
to -2.6750
thank you