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
grabs the ID for the regex101.com
Open Workspace
PCRE (Legacy)
Substitution
Created 2016-11-08 11:04
0
Regular Expression
/
^
http
(?:
s
?
)
:
\/\/
regex101
\.
com
\/
r
\/
(
[
a
-
zA
-
Z0
-
9
]
{1,6}
)?
$
/
gm
Description
grabs the ID for the regex101.com permalink to code
Submitted by
Anonymous