let moneyAmount = 128500; let moneyAmountToStringWithRegulerEx = num1.toString() .replace(/\B(?<!\.\d*)(?=(\d{3})+(?!\d))/g, ",");