I got a regex that fails on validating my input.

My regex: `\d{1,5}([\.,]\d{0,2})?`

It should validate square meters (decimal values) with a separator of either `.` or `,` and should allow up to five digits (and at least one) before the separator and up to two after it.

So it should accept:  

1  

1,0  

1.0  

12345  

12345,10  

12345.10 

But not  

.1  

12345**6**  

12345,12**3**