RE: [PHP] transforming an HTML Comment in a HTML TAG
| From: | Jason Murray | Date: | Mon, 15 Jan 2001 04:05:21 +0000 |
| Subject: | RE: [PHP] transforming an HTML Comment in a HTML TAG | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-34555@lists.php.net to get a copy of this message | ||
> 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...
Only 200? Why not just do a global search and replace? Or write a
script to do it for you. It'll save you a headache when you get to
2000. Or 20000.
> How would be a REGEX to recognize the <!-- TEXT --> tag and
> ANY TEXT below?
Love to help you, but I've already stretched the limit of my regex
knowledge, sorry.
Jason
--
Jason Murray
jasonm@melbourneit.com.au
Web Design Team, Melbourne IT
Fetch the comfy chair!