Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2016-05-16 20:41
Flavor·JavaScript

/
^(?![\S\s]*should not exist)
/
i
Open regex in editor

Description

This will make sure a certain regex does not exist in a block of text, that includes new lines

Submitted by Mandeep Rai