Javascript String Money()
Money()
String.prototype.Money = function(){ var re=/(?=(?!\b)(\d{3})+$)/g; return this.replace(re,','); }