Hi I have e regular expression which helps me to validate user input.
It only allows positive numbers with 2 decimal places, this is my regex:
^[0-9]+\.[0-9][0-9]$
I want this to function for negative numbers as well.
How can I change the regexp to allow negative values?
It would be as follows: