Javascript String uncomma()
uncomma()
// Remove commas//from www . j av a2 s . c o m String.prototype.uncomma = function() { return parseInt(this.replace(/,/g, '')); };