Any Regex gurus care to lend a hand with this one? Rick
> -----Original Message----- > From: Azadi Saryev [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 10, 2007 9:53 PM > To: CF-Talk > Subject: Re: Why does this code disable styling? > > use REReplace() with a regex to replace spaces only outside < and >. > will write one for you later if nobody else does... > > Azadi > > > Rick Faircloth wrote: > > No, it's just text with the <b style="color:red;">SITE > DEVELOPMENT</b> > > around it. > > > > But after looking at the source I figured out what was going on. > > The spaces inside the style code are also being changed to . > > > > So, in the source it looks like this: > > <b style="color:red; font-size:14px;"> > > which is non-functional. > > > > The question is... how do I replace just the spaces, or the chr(32) > > characters > > in the text with something that won't affect the code? > > > > Is there any other code I can add to the <b style=...> which > > will cause it to be parsed as code and not text? Something like, > > <code><b style="color:red;"></code>SITE DEVELOPMENT<code></b></code> > ??? > > > > Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290853 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

