Javascript String parseMoney()
parseMoney()
String.prototype.parseMoney = function() { var scrubbed = this.replace(/[^0-9\.]/g, ""); return parseFloat(scrubbed); };