found it:
# remove all others
$filename = ereg_replace ("[^a-z^0-9^-]", "", $filename);
cheers,
andy
"Andy" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi there,
>
> I am still searching for a function which is replacing all chars not
between
> [a-z] for exampe a province name like: min�aqah-ash-shamal�yah into valid
> chars or just deleting them. There seems to be an endless amount of those
> chars.
>
> Thanx for any hint,
>
> andy
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php