This function transforms camelCase, PascalCase, snake_case, and space-separated
strings into a normalized kebab-case format. It removes non-alphanumeric characters
(excluding hyphens), collapses multiple delimiters, and trims leading/trailing hyphens.
Converts a string to kebab-case.
This function transforms camelCase, PascalCase, snake_case, and space-separated strings into a normalized kebab-case format. It removes non-alphanumeric characters (excluding hyphens), collapses multiple delimiters, and trims leading/trailing hyphens.