>>Wow... pretty complicated.
Ok, then try this:
<CFSET myString='Some text here,<b style="color:red;"> some text in
bold</b> and some othetext at the end'>
<CF_REextract
INPUTMODE = "variable"
INPUT = "myString"
RE1 = "^|<|>"
RE2 = "<|>|$"
OUTPUTMODE = "query"
RECYCLE="yes"
>
<CFSET finalString = "">
<CFLOOP QUERY="REextract">
<CFIF String1 NEQ "<">
<CFSET string2 = Replace(string2, " ", " ", "all")>
<CFSET finalString = finalString & Replace(string2, " ", " ",
"all")>
<CFELSE>
<CFSET finalString = finalString & string1 & string2 & string3>
</CFIF>
</CFLOOP>
<CFOUTPUT>#HTMLEditFormat(finalString)#</CFOUTPUT>
--
_______________________________________
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290983
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4