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
/
^(?:5|[1-9]\d*[05])(?:[,.][05])?$
/
gm
Input 1
New
1 1.5 2 2.0 2.5 5.0 0.5 5.0 5.5 0 0.0 2.3 0.5 10.0 10.5 20.5 45.0 1855 100,0
Substitution
1 1.5 2 2.0 2.5 5.0 0.5 5.0 5.5 0 0.0 2.3 0.5 10.0 10.5 20.5 45.0 1855 100,0