Regular Expressions 101

Community Patterns

Inverse Regex

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