Wednesday, November 27, 2013

Damn extra comma and IE

Regex to check for extra comma in js (because IE will choke)

(?s),\s*\}

No comments:

Post a Comment