Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
console\.log\(('|\")?(.*)+('|\")?\)
/
gmi

Description

should find any console.log(wahtever with or without - simple or double - quote

Submitted by denis florkin - 9 years ago