Regular Expressions 101

Community Patterns

SEO dest pages

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(http|https):\/\/www.example\.com\/holidays\/(.*)-holidays\.html
/
gm

Description

Find any URL that sits in the /holidays/ subfolder and ends with .html

Submitted by anonymous - 3 years ago (Last modified 3 years ago)