Last active
July 21, 2019 09:19
-
-
Save anthonycoffey/f96f3d7f44100b4d1e2f56989323021b to your computer and use it in GitHub Desktop.
Match all console.log() statements in a project with JetBrains RegEx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log\((.+)\);\n # this will match most console.log(); statements, unless they contain brackets or operators |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This RegEx is for JetBrains IDE. The following line break is also included for easy removal of all debug statements within a project.