How can I exclude the 0 input in this regex? The user should be able to enter any number... but not the zero
^([0-9]*|\\d*\\.\\d{1}?\\d*)$
Than
The following regex
^(?!0*(\.0+)?$)(\d+|\d*\.\d+)$
Does not match
0 0.0 .0
But allows
.1 0.01 1.00 1.1 01.01 10.10 1