Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^([a-zA-Z]{3} [\d|\s]\d \d{2}\:\d{2}\:\d{2})(?:.*postscreen\[\d+\]\: )(?:.*)(reject)(?:.*)(?:\[((?:[0-9]{1,3}\.){3}[0-9]{1,3})\])(?:[^\[]*)([\d\.]{5})(?:.*)(?:; (.*); )(?:from=<([^>]*)>)(?:.*)(?:to=<([^>]*)>)
/
g

Description

no description available

Submitted by anonymous - 8 years ago