Re: transforming an HTML Comment in a HTML TAG
| From: | Romulo Roberto Pereira | Date: | Mon, 15 Jan 2001 03:47:01 +0000 |
| Subject: | Re: transforming an HTML Comment in a HTML TAG | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-34554@lists.php.net to get a copy of this message | ||
> Either way, it should be easy enough to change that code I gave you
> to do that?
I know what you mean, but I have more than 200 rows already with these <!--
TEXT --> surrounding my texts and to modify manually would take ours... I
didn't think in that before...
How would be a REGEX to recognize the <!-- TEXT --> tag and ANY TEXT below?
<!-- TEXT -->ANY TEXT<!-- TEXT -->
because if I could recognize the entire block and make it a string, it would
be possible to use $ in REGEX to exchange only the end of the string. What
do you think?
Thank you