Slugify Convert strings into URL slugs. let string = "!Hello~`!@#$%^&*()_+={}[]|\\;:'\"<>,.?/World! こんにちは! สวัสดี! مرحبا! 您好!" let slug = string.slugify() // hello-world-kon-nichiha-swasdi-mrhba-nin-hao