const main = (text: string, replacer: string = "") => { const regex = /[^A-Z09 _]/gi return text.replace(regex, replacer) } export default main