Re: Parsing Headache (Removing Multiple Images)

2001-02-14 Thread Steve Reich
It's like lighting up a cigerette right as your meal comes... I figured it out (but am open to a better solution is anyone has one...) cfloop condition="#Find("img", output, 1)#" cfscript imageStart =#Find("img", output, 1)#; imageEnd = #Find("", output, imageStart)#; imageLen = imageEnd -

RE: Parsing Headache (Removing Multiple Images)

2001-02-14 Thread Seva Petrov
Steve, Why not try something easier: cfscript output = Trim(CFHTTP.FileContent); output = REReplaceNoCase(output, "img[^/]+[/]?", "", "all"); /cfscript Best, Seva Petrov Senior Developer TheSquare.com -Original Message- From: Steve Reich [mailto:[EMAIL PROTECTED]] Sent:

RE: Parsing Headache (Removing Multiple Images)

2001-02-14 Thread JustinMacCarthy
REreplace(page,"img.*[^]","","ALL") or something??? Justin -Original Message- From: Steve Reich [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 5:44 PM To: CF-Talk Subject: Parsing Headache (Removing Multiple Images) OK.. I am writing a tag with CFHTTP to blah, blah,

Re: Parsing Headache (Removing Multiple Images)

2001-02-14 Thread Dick Applebaum
Steve Try: cfhttp method="get" URL="http://apple.excite.com/" cfset cleanText = ReReplaceNoCase(CFHTTP.FileContent, "IMG[^]*", "", "ALL") cfoutput#cleanText#/cfoutput HTH Dick At 12:44 PM -0500 2/14/01, Steve Reich wrote: OK.. I am writing a tag with CFHTTP to blah, blah, blah... it works

Re: Parsing Headache (Removing Multiple Images)

2001-02-14 Thread Jennifer
At 12:44 PM 2/14/01 -0500, you wrote: OK.. I am writing a tag with CFHTTP to blah, blah, blah... it works fine. Now I want to port my application to the Palm Pilot so I want to remove the images from the output. Here's my line of thinking at the moment... cfscript output =