use ereg_ireplace() or preg_ireplace() (the latter I'm not sure exists, but
the former function does)
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 4:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Case non-sensitive replacing with
On Wed, 20 Mar 2002, Martin Towell wrote:
use ereg_ireplace() or preg_ireplace() (the latter I'm not sure exists,
but the former function does)
Close - it's eregi_replace().
To use preg_replace case-insensitively, just toss an 'i' at the end of
your pattern. Instead of:
on 3/20/02 12:24 AM, Martin Towell at [EMAIL PROTECTED] wrote:
use ereg_ireplace() or preg_ireplace() (the latter I'm not sure exists, but
the former function does)
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 4:16 PM
To: [EMAIL
3 matches
Mail list logo