note 102286 deleted from regexp.reference.conditional by danbrown
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
Note Submitter: Anonymous
----
Correction:
<?php
echo preg_replace("%(*ANY)(.*?((<)(?(3).*?>).*?)*?)\'\'%s",
'\1Fred', $subject);
?>
Sorry, this should do it.