Woops... someone pointed out that I missed the end of my last line of code....
here again is my code... (all of it this time)
<cfset template = '<!--- peace:test1 --->
In the beginning God created the heavens and the earth.
<!--- /peace:test1 --->'>
<cfset templateStart = reMatch('\<\!---\s*\w+\:\w+\s*---\>',template)>
<cfset templateEnd = reMatch('\<\!---\s*\/\w+\:\w+\s*---\>',template)>
<cfset templateBody =
reMatch('^\<\!---\s*\w+\:\w+\s*---\>.*(?=\<\!---\s*\/\w+\:\w+\s*---\>)',template)>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive: http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1204
Subscription: http://www.houseoffusion.com/groups/regex/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21