<cfset amendedtop10table = rereplacenocase(top10table, "<td class=nat>[^<]*</td>", "", "ALL")>
will remove the specific cells and their contents. > -----Original Message----- > From: Paddy McKay [mailto:[EMAIL PROTECTED] > Sent: 30 June 2003 12:24 > To: [EMAIL PROTECTED] > Subject: [ cf-dev ] Regex Help > > > Hi All, > > I hope one of you regex gurus can give me a pointer here, as > this must be pretty straightforward. > > I'm reading in a table from another file but I want to > exclude certain cells. The cells are identified by their > class, so I want to remove > <td class=nat>the text including letters numbers and spaces</td> > > I'm trying to get this regex to do this without success, and > I need to get this running within the next day or two. Where > am I going wrong? > > <Cfset Amendedtop10table = reReplaceNoCase(top10table, > "(<td){1}(class=nat){1}[.]{0,100}(</td>){1}","", "All")> > > All help appreciated > > paddy > ----------------- > Paddy McKay > Scottish Property Network > [EMAIL PROTECTED] > Tel: 0141 561 7300 > Fax: 0141 561 7319 > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
