regexp question
| From: | Lars Wilhelmsen | Date: | Thu, 21 Dec 2000 22:17:50 +0000 |
| Subject: | regexp question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-31480@lists.php.net to get a copy of this message | ||
Hi.
My problem is that I want to translate all &'s to & IF
they're located between a > and </a> , ie. the title string of
a link.
I asked a friend of mine, and he suggested
/>[\w*&\w*]*</a>/[\w*&\w*]*/
which isn't a bad idea... but how can I convert this one to
be used by preg_replace or ereg_replace?
-larsw-