Created
May 6, 2011 10:06
-
-
Save NKjoep/958718 to your computer and use it in GitHub Desktop.
Fast RegExp which find and replace all console.log( occurences in your code and comment them out.
This file contains 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
//find this | |
(^.*[^//])console.log | |
//replace with | |
$1//console.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment