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","&","&amps;","ALL")>
> <cfset string_2=REReplace(string_1,"'","&apos;","ALL")>
> 
> What I am hoping for is a 1 liner will detected & ' and translate it to 
> &amps; &apos;
> 
> 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]


Reply via email to