I am busy working on this and thought I would put it our there.
It must be a number with a maximum of 3 units and maximum of 5 decimal places etc
Valid
- 999.99999
- 99.9
- 9
- 0.99999
- 0
Invalid
- -0.1
- 999.123456
- AAA
- AAA.99999
EDIT It needs to be greater than or equal to zero.
In light of your recent changes to the question, here is an updated regex which will match all >= 0 and <1000
^is start of line,$is end of line.Valid
Invalid