I would have to agree with Claude. It's going to be much more simple and efficient to GET matches rather than to delete NON MATCHES. Once you have the matches in an array, you can use ArrayToList() if you really need a list... Or if you go the query route, you can use ValueList() to get the column in a list.
...................... Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -----Original Message----- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 10:41 AM To: CF-Talk Subject: Re: Regex remove everything but this string >>I am trying to strip out everything except the content between h2 tags and end up with a comma delimitered list. You could do this very easily with CF_REextract. This tag can return all your <H2>...</H2> strings in one list or one query. See http://www.contentbox.com/claude/customtags/REextract/testREextract.cfm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276118 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

