REReplaceNoCase( yourstring, "(<font[[:space:]]+[^/>]*)face="[^"]*"([^/>]*/?>)", "\1\2", "ALL" )
Should do it Cheers, Alistair Alistair Davidson Senior Technical Developer Headshift.com ------------------------------------------ HEADSHIFT >> www.headshift.com T: 020 7357 7358 ------------------------------------------ smarter > simpler > social > personal techie blog : http://instantbadger.blogspot.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 12 August 2004 11:54 To: [EMAIL PROTECTED] Subject: [ cf-dev ] RegEx strip attribute using regex, how could I turn this: <font face="Times New Roman, Serif" size="2" style="whatever" color=" #FF0000"> into this: <font size="2" style="whatever" color="#FF0000"> i.e. remove just the face="" attribute, but leave everything else the same? -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED] -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED]