Hi i need to write a regular expression for float value `(5,2)`

As per my understanding `(5,2)` means

1. Total length cannot exceed 5 digits i.e. `999.99`
2. Digits before decimal is 3 and after decimal is 2 i.e. `999.99`

I wrote this: `ValidationExpression="(^\d{0,3}[.]?\d{0,2}$)"` but this is accepting `9999` and `99999` which is wrong because in both case before decimal is more than 3 digits.

Please help?