Home All Groups Group Topic Archive Search About

Remove content between tags



Author
15 Mar 2005 2:11 PM
Aaron Fleming
How can I remove the content in between tags?

I have a page that has several custom tags:
<!--tag:1-->
Content 1
<!--/tag:1-->
<br>
<!--tag:2-->
Content 2
<!--/tag:2-->
<br>
<!--tag:3-->
Content 3
<!--/tag:3-->

If I only wanted to see the contents of tag 2 for example, how could I
strip out 1 and 3?

Author
15 Mar 2005 2:36 PM
McKirahan
Show quote
"Aaron Fleming" <aaron.flem***@gmail.com> wrote in message
news:1110895866.404036.165110@g14g2000cwa.googlegroups.com...
> How can I remove the content in between tags?
>
> I have a page that has several custom tags:
> <!--tag:1-->
> Content 1
> <!--/tag:1-->
> <br>
> <!--tag:2-->
> Content 2
> <!--/tag:2-->
> <br>
> <!--tag:3-->
> Content 3
> <!--/tag:3-->
>
> If I only wanted to see the contents of tag 2 for example, how could I
> strip out 1 and 3?
>

See answer to the same question by "j1c" or did you multi-post?

AddThis Social Bookmark Button