Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
watersportsoutlet.com([\D]{2}.\/|\/[\D]{2}-[^us]{2}\/)
/
mg

Description

Excludes certain subdirs unless they contain specific valid patterns

Submitted by anonymous - 5 years ago