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
LiteralMatch int/float
Open Workspace
PCRE (Legacy)
Match
Created 2016-02-11 11:52
1
Regular Expression
/
^
(
0
|
[
1
-
9
]
{1}
\d
{0,7}
)(
\.
{1}
\d
{1,4}?
)?
$
/
Description
For matching numeric literals in equations
Submitted by
Anttij