Regular Expressions 101

Community Patterns

Community Library Entry

-3

Regular Expression
PCRE (PHP <7.3)

/
^((?!.*email).)*thank(\-|\_|)you.*
/
gi

Description

Exclude part of a string in an include string.

Submitted by anonymous - 9 years ago