Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^(?!0+)(?:\d+(?:[.,]\d{0,2})?)?$
/
gm
Input 1
New
It should accept: 1 11,00 100,88 100 11.00 100.88 Shouldn't accept: 0 -5 0,55 0.55