Regular Expressions 101

Community Patterns

Negative search

0

Regular Expression
PCRE (PHP <7.3)

/
^((?!test).)*$
/
gm

Description

Seach pattern that doesn't match

Submitted by Gael Langlais - a year ago