»andy« sagte am 2002-03-18 um 14:22:47 +0100 :
> 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.

preg_replace('|[^a-z]||g', $string)

or somesuch

Alexander Skwar
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:       http://www.iso-top.de      |     Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
                       Uptime: 1 day 2 hours 54 minutes

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to