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
PLP redirection
Open Workspace
PCRE2 (PHP)
Substitution
Created 2024-02-26 16:08
0
Regular Expression
/
(
^
\/
us
\/
[
-a
-
zA
-
Z
]
{1,2}
\/
.
+
\/
)(
products
\/
categories
\/
)(
.
+
\.
html
)(
\?
[
a
-
zA
-
Z0
-
9=?&.-
]
+
)?
/
gm
Description
PLP redirection
Submitted by
Anonymous