List of utility methods to do String Delete Comma
String.prototype.deleteComma = function () { var string = this; while (string != (string = string.replace(/^(-?\d+)(\d{3})/, "$1,$2"))); return string;