Remove content between tags

A

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?
 
M

McKirahan

Aaron Fleming said:
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top