'use strict';

const DIGITS_MATCH = /^$|^(\+)|(\d+)/g;
const cleanNumber = number => number.match(DIGITS_MATCH)?.join('') ?? '';

exports.cleanNumber = cleanNumber;
//# sourceMappingURL=cleanNumber.js.map
