Then
On cfmx: REReplaceNocase(str,"<script.*?</script>","","all");
On CF5
Start = 1;
While(true){
start = FindNoCase(str,"<script",start);
if(start){
end = FindNoCase(str,"</script>",start) +
Len("</script>");
str = RemoveChars(str,start,start-end);
}
else break;
}
> -----Original Message-----
> From: Ketan Patel [mailto:[EMAIL PROTECTED]
> Sent: vrijdag 13 februari 2004 17:04
> To: CF-Talk
> Subject: strip _javascript_
>
> Hi All,
> Does anybody know about any custom tag or function which can
> strip _javascript_. I have used striphtml function from
> cflib.org but it does not strip the _javascript_.
>
> Ketan Patel
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

