Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

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

Description

Match a line that doesn't contain a word

Submitted by xiaoyang - 2 years ago