Re: Replace or regex?
| From: | Gareth Williams | Date: | Thu, 30 Sep 2004 08:37:41 +0000 |
| Subject: | Re: Replace or regex? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-198241@lists.php.net to get a copy of this message | ||
Well, if you can do it without a regex, then it's always best, because the regex engine slows things down.
On 30 Sep 2004, at 10:39, mario wrote:
Hi all I have a string: ##CODE## and I want to replace that with <a href="somewhere.php?id=CODE">CODE</a> can u help? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php