Re: Strip HTML and display

2006-01-30 Thread Jerry Johnson
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

Re: Strip HTML and display

2006-01-30 Thread Cedric Villat
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

RE: Strip HTML and display

2006-01-30 Thread Dawson, Michael
This might help solve your problem: http://www.cflib.org/udf.cfm?ID=249 M!ke -Original Message- From: Cedric Villat [mailto:[EMAIL PROTECTED] Sent: Monday, January 30, 2006 7:23 PM To: CF-Talk Subject: Re: Strip HTML and display My desired output didn't show up quite right. Anyway