Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-08-05 06:12
Flavor·JavaScript

/
^(?:(?!hello).)*$
/
gm
Open regex in editor

Description

Match a line that doesn't contain a word

Submitted by xiaoyang