I receive a formatted string and I can't change the source ; it look something like this :
{
"value": 4.12
}
I have to parse it into a double to show only the number.
I get I should clean it with a regex
before using double.TryParse()
, but I have no idea how to format the regex...