I am trying to find the regular expression for getting the Error value from the following string:
{'Sample': '#it{House}', 'Yield': 0.0012267869301467726, 'Error': 0}
I tried "'Error': (\d+.\d+)"
but I have the case that the Error can be either an integer (like 0) or a double value like 0.992. I checked many cases but still cannot find the regular expression.