I have a situation where I am asked to extract data between tags, display it, and sometimes replace it. An example of the tags and are as follows:
<!--{Thought-start}-->
Thought goes here
<!--{Thought-end}-->
One idea I have is to determine the end of the start tag and the beginning of the end tag, then extract the data between those "markers". For this I would use strpos() and substr().
Ideas are welcome!
Todd