I'm having trouble putting together a regular expression for a string that contains a number between 0 and 99999, followed by a plus sign, followed by one or two digits, optionally followed by a decimal and a single digit. For instance:
99999+99.9
This would also be valid:
0+00
This would also be valid:
0+02.5
This would also be valid:
0+2.5
I found this topic: How can I check for a plus sign using regular expressions?
And this one: Regular Expression for decimal numbers
But am unable to put the 2 together and fulfill the other requirements listed above.
Any help you can provide is much appreciated!