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
r"
(?!\.\d\d)\n
"
g
Input 1
1
New
enter This line ends with text this line ends with a number: 55 this ends with 2-decimal number: 5.00 here's 22.22, not at the end of the line
Substitution
enter This line ends with text this line ends with a number: 55 this ends with 2-decimal number: 5.00 here's 22.22, not at the end of the line