Re: string function
| From: | Elizabeth M Smith | Date: | Fri, 08 Feb 2008 14:26:59 +0000 |
| Subject: | Re: string function | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-28770@lists.php.net to get a copy of this message | ||
Viola Holownia wrote:
> hi
>
> Have you tried ereg_replace() ?
> http://www.php.net/manual/en/function.ereg-replace.php
>
>
> cheers
> viola
>
I would NOT suggest ereg_replace, especially on windows - if you need to
do advanced replacement and str_replace doesn't work, try preg_replace -
http://php.net/preg_replace
Regular expressions are your friend.
Thanks,
Elizabeth