Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^(?!Andrea)(?:[\S\s](?!Andrea))*+$
/

Description

Matches all strings that don't match a given pattern.

Submitted by Paul Buonopane @ NamePros - 8 years ago