xmlFormat(string_1) dud! 2x4 hitting on my head..... :-) thanks
-----Original Message----- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 24, 2005 10:11 AM To: [email protected] Subject: Re: [CFCDev] regEx help how about xmlFormat(string_1), then? Though really, who cares if it's one line or two? On 8/24/05, Ung, Seng <[EMAIL PROTECTED]> wrote: > btw: the outcome is a XML format > > -----Original Message----- > From: Ung, Seng > Sent: Wednesday, August 24, 2005 10:02 AM > To: [email protected] > Subject: RE: [CFCDev] regEx help > > > Barney: > > here what I got > <cfset string_1=REReplace("The Sound. of A & M's","&","&s;","ALL")> > <cfset string_2=REReplace(string_1,"'","'","ALL")> > > What I am hoping for is a 1 liner will detected & ' and translate it to > &s; ' > > Can it be done? > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
