regexp problem again
| From: | Lars Wilhelmsen | Date: | Thu, 21 Dec 2000 22:39:14 +0000 |
| Subject: | regexp problem again | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-31482@lists.php.net to get a copy of this message | ||
curts: that didn't work:
preg_replace("/>[\w*&\w*]*</a>/i","/[\w*&\w*]*/",$YOUR_STRING);
Any other suggestions?
( substituting all &'s with & if they're inside a > and </a> ?
-larsw-