Regular Expressions 101

Include Anything but (string)

Open Workspace
  • JavaScript
  • Match
0

Regular Expression

/
^(?!.*note).*versa.*$
/
gm

Description

This RegEx uses a lookahead to say that anything BUT (string) will be valid

Submitted by Anonymous