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
Validate Float
Open Workspace
PCRE2 (PHP)
Match
Created 2021-07-09 19:23
1
Regular Expression
/
^
-
?
(
\d
|
[
1
-
9
]
+
\d
*
|
\.
\d
+
|
0
\.
\d
+
|
[
1
-
9
]
+
\d
*
\.
\d
+
)
$
/
gm
Description
Non scientific float numbers validator
Submitted by
Tanmay Chakrabarty - cse.tanmay@gmail.com