Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-01-28 08:22
Flavor·PCRE (Legacy)

/
^(?:(?!ab|cd)(.))+$
/
gm
Open regex in editor

Description

This text won't match because it does contain ab in it!

This text won't match because it does contain cd in it!

This text matches because it doesn't contain them in itghdfgdfg!

Submitted by jarea