it replaces 'This' with 'That', some you tell to ereg what he should think
'This' is and what to replace it with.

It does only one replacement at a time.

Cheers,
Maxim Maletsky


-----Original Message-----
From: Brian V Bonini [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 5:31 AM
To: PHP Lists
Subject: [PHP] ereg_replace


I know you can replace A or B or C with D
but can you replace A with B and C with D
exclusively with one call to ereg_replace
or does this need to be done seperately?

-Brian



-- 
PHP General 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]

-- 
PHP General 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]

Reply via email to