Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const require_hooks_useNumberInput_utils_escapeRegExp = require("./escapeRegExp.cjs");
//#region src/hooks/useNumberInput/utils/removeSeparators.ts
/**
* Remove group separator from value eg. 1,000 > 1000
*/
const removeSeparators = (value, separator = ",") => {
	const reg = new RegExp(require_hooks_useNumberInput_utils_escapeRegExp.escapeRegExp(separator), "g");
	return value.replace(reg, "");
};
//#endregion
exports.removeSeparators = removeSeparators;
