But how about picking out the content? for example, if I use <!-- --> pair, and there is something like <!--[funcLoadPage,contentBeingLoaded]--> what is the best way to pick out "funcLoadPage,contentBeingLoaded" and replace the whole <!--...--> with corresponded processed text?
Here is an example:
<B> I would like to share my work </B><!--[funcLoadPage,contentBeingLoaded]--> <I> and please look at the following table</I><!--[funcLoadTable,tableBeingLoaded]-->
if I detect the first bit before the "," is funcLoadPage, then I will have code to replace the whole <!--[...]--> with some content with the data from the database like "This is my work, please enjoy!". This is similar to "funcLoadTable,tableBeingLoaded"
What is the best approach to do this? If there is some example would be very great!
Thanks