I have a MySQL double(10,2) which I've applied the following regex: /^\d{0,10}\.\d{2}$/
I'm not passing validation for 1234, I'm assuming the decimal is required (I understood ? is the optional char which is absent).
Where do I place the ? char in this regex?
thanks