I am interested in removing segments of a template document. In other words, if my document contains the following info:
{my_id}
Some title
Here is some text in the document.
{/my_id}
I would like to be able to remove all text between the {my_id} and {/my_id}.
Does anyone have some sample code that might accomplish this? Or is there some other strategy that might accomplish the same thing?
Thanks for your help.