Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
//#region src/hooks/useNumberInput/utils/addSeparators.ts
/**
* Add group separator to value eg. 1000 > 1,000
*/
const addSeparators = (value, separator = ",") => {
	return value.replace(/\B(?=(\d{3})+(?!\d))/g, separator);
};
//#endregion
exports.addSeparators = addSeparators;
