Removes all non-alphanumeric characters and replaces them with hyphens (-).
Turns a text value into a clean, URL-friendly slug. It lowercases the text, simplifies accented letters to their plain equivalents (so “é” becomes “e” and “ü” becomes “u”), and replaces every run of spaces, punctuation, or other symbols with a single hyphen. Use this to build handles, URL keys, or file-safe names from a product title or category name. Any leading or trailing hyphens are trimmed off, so the result never starts or ends with a hyphen.