Regular Expressions 101

Community Patterns

Negative Lookbehind (?<!jeffery)@.+

0

Regular Expression
PCRE (PHP <7.3)

/
(?<!jeffery)@.+
/
gm

Description

Simple lookbehind - only selects what is after the @ IF what comes before is NOT 'jeffery' From this guys video https://www.youtube.com/watch?v=aIEjh0YsxWA&t=1s

Submitted by anonymous - 6 years ago