Regular Expressions 101

Community Patterns

js console.log(wahtever) finder

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 - 8 years ago