function makeSlug(slug){ return slug.toLowerCase().replace(/[^w-]+/g, '-'); } let slug = makeSlug("CodePadding Rahman ( Mizan ) 12456 <> title")