Skip to content

Instantly share code, notes, and snippets.

@lukemartin
Created October 17, 2011 11:27
Show Gist options
  • Save lukemartin/1292433 to your computer and use it in GitHub Desktop.
Save lukemartin/1292433 to your computer and use it in GitHub Desktop.
Regex: Remove comma from last object property
Find: (\S+:\s*[\S]+),(\s+})
Replace: $1$2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment