import slugify from 'slugify' export const slugifyString = (str) => { return slugify(str, { replacement: '-', remove: /[#,&,+()$~%.'":*?<>{}]/g, lower: true, }) }