V
V
vrpk342022-02-11 16:03:54
Regular Expressions
vrpk34, 2022-02-11 16:03:54

What regular expression to use for console.log()?

Hello.
Can you please tell me how to use a regular expression to select only the console log and brackets without content in it? Before regex console.log('regx', bottom, 123-6 -15f () false || true), after regex console.log()

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Shellr57s, 2022-02-11
@Shellr57s

via notepad++ if
find: console\.log\(.*\)
replace:console.log\(\)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question