Created
September 4, 2013 08:03
-
-
Save afrex/6434051 to your computer and use it in GitHub Desktop.
Use this regex in a search to retrieve trailing comma's of death within your application. This comma's will cause inconsistent behaviour in Internet Explorer browsers.
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*?\]|,\s+} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For use in Sublime Text, escape the closing curly:
,\s*?\]|,\s+\}
Super helpful, thank you.