Created
February 1, 2013 16:11
-
-
Save carlmw/4692242 to your computer and use it in GitHub Desktop.
RegExp to find those pesky trailing commas
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
,\s*\n+(\s*\/\/.*\n)*\s*[\}\)\]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment