Heading = REReplace(Content, '^.*<h2>([^<]*)</h2>.*$' , '\1')
> I am having trouble with regex, to be honest I am not the greatest at > it to start with. > > I am trying to strip out everything except the content between h2 tags > and end up with a comma delimitered list. > > I can strip everything between the h2 tags with this > > <h2>[^>]*</h2> > > but I am trying to do the reverse of this. > MF ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276102 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4