Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
(\d{3,}@gmail.com)
/
gi

Description

Detects a when three or more numbers immediately precede "@gmail.com" in an attempt to identify fraudulent spam , spoofing or phishing.

Submitted by Aaron Miller - 6 months ago