You don't need a regex, just a pair of simple replaces will do it. And actually, htmlEditFormat() would do it just as easily, and catch <, >, and " too, though I don't think it'll do the apostrophe.
cheers, barneyb On 8/24/05, Ung, Seng <[EMAIL PROTECTED]> wrote: > Help > > string="The Sound of A & D's" > > how does regex works to ReReplace the string to the following? > > string="The Sound of A &s; D's" > > thanks > Seng > -- 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]
