My desired output didn't show up quite right. Anyway, I'm not trying to get rid of CR's after tags.
Basically, this text has already been wrapped at some length (65 chars). The problem is it was wrapped text was wrapped while taking into account the HTML. I'm trying to "unwrap" the text, then remove the HTML, then re-wrap it so that the text displays properly. Cedric >Not quite sure what you are trying to accomplish, but I'll give it a whack. > >Are you saying that any CR that happens right after a tag should not >happen, then: > ><!--- replace all tag/newlines with just tags ---> ><cfset newString=rereplace(str,">[#chr(10)##chr(13)#]+",">","ALL")> ><!--- remove all tags ---> ><cfset newString=rereplace(newString,"<[^>]*>","","ALL")> > > >On 1/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230798 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

