Re: preg_replace pains
| From: | Richard Davey | Date: | Fri, 28 Jun 2002 01:46:28 +0000 |
| Subject: | Re: preg_replace pains | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104251@lists.php.net to get a copy of this message | ||
"John Holmes" <holmes072000@charter.net> wrote in message
news:000a01c21e45$92b64270$b402a8c0@mango...
> Wouldn't you want to use preg_match() before you replace it?
In this instance, no I don't think so. I've already performed the task I
needed with the tags in question and this is merely a "clean-up" to purge
out the string now I'm done with it. Except of course it's not working yet
:)
Cheers,
Richard