RE: Get text between tags

2002-10-15 Thread Ben Doom
Does this actually have to run in CF, or do you just need to extract the information? It seems to me that unless they put non-greedy matches in CF4.5 and not in CF5 (which would be a serious wtf?) that it would be easier to do this in Perl or some other language, dump the info to a set of files,

Re: Get text between tags

2002-10-15 Thread Jerry Johnson
This is not good, and only does one tag per string, and will fail on large strings, but... cfset pageContent=asdlgjklsfjglksjgcfquerysdlkjgjsladggff/cfqueryslafkjglksafg cfset tag=CFQUERY cfset pageContent=replacenocase(pageContent,/#tag#,ΓΈ,ALL) cfset

RE: Get text between tags

2002-10-15 Thread Everett, Al
,match.pos[1],length))); start = end; } else{ exit = true; } } /cfscript -Original Message- From: Jerry Johnson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 11:43 AM To: CF-Talk Subject: Re: Get text