>>Thanks for a quick response. It does work however if I add body as another regex, the head section shows up in body. e.g.
Hi, this is definitely a job for CF_REextract: See http://www.contentbox.com/claude/customtags/REextract/testREextract.cfm You can test it here: http://www.contentbox.com/claude/customtags/REextract/testingREextract.cfm 1. enter \[head\]|\[body\] in RE1 2. enter \[/head\]|\[/body\] in RE2 3. enter [HEAD] <title>My Home Page</title> <link href="style.css" rel="stylesheet" type="text/css" /> [/HEAD] [BODY] <h1>Home Page</h1> [/BODY] as sample text, 4. hit the Test button, et voilàààààà ! ;-) -- _______________________________________ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301507 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4