Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(^\/us\/[-a-zA-Z]{1,2}\/.+\/)(products\/categories\/)(.+\.html)(\?[a-zA-Z0-9=?&.-]+)?
/
gm

Description

PLP redirection

Submitted by anonymous - 10 months ago