Regular Expressions 101

Community Patterns

filter noreply-ish e-mail addresses

2

Regular Expression
PCRE (PHP <7.3)

/
.*n.?t?.*reply.*@(.+\.)+.+
/
g

Description

no reply e-mail addresses don't want to receive a reply. Unfortunately, not all no reply e-mail addresses are formatted like noreply@domain.tld, so in order to catch as many of them as possible I made this regular expression which matches many forms of no reply e-mail addresses.

Submitted by anonymous - 9 years ago