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-1]+(\.[0-9]) | [10-11]$
"
gm
Input 1
1
New
-1 -.5 -0 1.05 5.5 000000 0.0 0000. 0 .50000000 00001. 1.5 2.00000 2.5000 000003 3.5 0004.0000 0004.5000 00005.0 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5