>
> Does anyone know how to do a case insensitive str_replace?
> I don't want to alter the case of the original string (so I can't do a
> strtolower first).
>
> I've seen some functions used with the likes of [^Aa] in them but I'm not
> sure how to use this...
> Anyone got any ideas?
use preg_replace with /i modifier.
James
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]