Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Numbers except integers starting with zero
Open Workspace
Python
Match
Created 2020-03-01 11:23
0
Regular Expression
r"
^
(?!
(
^
0
\d
)
.
)
^\d
*
\.
?
\d
+
$
"
gm
Description
matches:
1234
.0123
0.123
no matches:
01234
01.234
Submitted by
Anonymous