-
Hello @Ivan Mishchenko !
Yes, you set the almost ideal syntax. It's only left to add the space processing, smth like:
$s = "Кириллическое предложение!"; $s = transliterator_transliterate("Any-Latin; Latin-ASCII; Lower()", $s); $s = preg_replace('/[^a-z0-9\s-]/', '', $s); $s = preg_replace('/[\s-]+/', '-', trim($s));