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
Rest URL Param 2
Open Workspace
PCRE (Legacy)
Match
Created 2021-03-09 20:57
0
Regular Expression
@
(?<=
/
)
{
(?<var>
[
a
-
z0
-
9_
]
+
)
:
?
(?<reg>
(?:
(?:
\[
{0,1}
[
\w\d
\-\\\.
/
]
+
\]
{0,1}
(?:
\+
|
\*
|
{
(?:
[
0
-
9
]
+
|
[
0
-
9
]
+
,
[
0
-
9
]
*
)
}
)?
)+
|
(?:
\(
{0,1}
[
\w\d
\-\\\.
/
\[\]
]
+
\)
{0,1}
(?:
\+
|
\*
|
{
(?:
[
0
-
9
]
+
|
[
0
-
9
]
+
,
[
0
-
9
]
*
)
}
)?
)+
)+
|)
}
(?=
\s
*
(?:
/
|
$
)
)
@
ixg
Description
No description provided.
Submitted by
Raphael Quintao