Sorry, forgot to account for multiple attributes... do this instead: <cfset noTblTags = reReplaceNoCase(htmlString, "</*t[rhd](\s*\w*=*""*\w*""*)*>", "|", "all")>
Laterz! J On 5/18/05, Parker, Kevin <[EMAIL PROTECTED]> wrote: > > How do I identify TR and TD tags end to end for the purposes of > replacing them with alternative content. > > I am using CFSAVECONTENT to grab a section of a page and re-process it. > > For example in my variable how do I identify <tr height=18 > > irrespective of its length and content and replace it with "" or > "something" or how do I identify <td colspan=2> again irrespective of > length and content, and replace it with "" or "something". > > </TR> and </TD> tags aren't a problem of course. > > TIA!!!! > > ++++++++++ > Kevin Parker > Web Services Consultant > WorkCover Corporation > -- --------------- ------------------------------------- Buy SQLSurveyor! http://www.web-relevant.com/sqlsurveyor Never make your developers open Enterprise Manager again. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207003 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

