Removes special characters (nonalphanumeric) from a UTF-8 string
This can be useful as a helper for sanitizing a string for use as something like a file name or a unique identifier. Be warned though it does not handle all possible non-alphanumeric characters and is not intended is some kind of security / injection filter.
Author: Andreas Gohr <firstname.lastname@example.org>
Located at vendor/joomla/string/src/phputf8/utils/specials.php
||The UTF8 string to strip of special chars|
||(optional) $repl Replace special with this string|
Return value summary
||with common non-alphanumeric characters removed|