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
Number Extract
Open Workspace
JavaScript
Match
Created 2018-07-13 08:14
0
Regular Expression
/
[
-
]
?
\d
*
\.
\d
+
|
[
-
]
?
\d
+
/
gm
Description
Number extract test. Accepts integers, floats, portions and negatives.
Submitted by
Anonymous