Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
from:\s*"+\s*[a-zA-Z]*+\s*"\s*,\s*to:\s*"\s*alice*\s*"\s*,\s*content:\s*"\s*[a-zA-Z]*\s*"\s*
/
gm

Description

messages directed towards alice

Submitted by anonymous - 3 years ago