Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

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

Description

It skips the whole line if it contains searched string

Submitted by anonymous - 6 years ago