Regular Expressions 101

Library entries

Find 'console.' but not 'console.log'

Vote

2

Regular Expression
javascript

/
(?:console\.(?!log))
/
gm

Description

Loading markdown...
Submitted by Jay Johnson - 8 years ago