Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(?!(Received.*88\.99\.88\.99.*mail\.bbbrucable\.net)).*$
/
i

Description

Example how to inverse match. Usable for postfix, when you need reject spoofing emails.

Submitted by www.alan.lt - 8 years ago