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
Get digits
Open Workspace
Golang
Substitution
Created 2023-05-03 18:20
0
Regular Expression
`
^
(
\d
+
(?:
\.
\d
{1,3}
)?
)
`
gm
Description
Trying to get digits
Submitted by
Arthur Silva