cool - this seemed to work:

#rereplace(bah, "<cf(*)>|</cf(*)>","")#

thanks for the suggestion.

> -----Original Message-----
> From: Scott Knaub [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 11, 2000 1:57 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: filter
>
>
> I might try to use a Regular Expression and use REReplace() to
> remove the CF
> tags and everything between them.  I have used this method to
> remove invalid
> hyperlinks ( the <A HREF ...> tag ) from HTML pages which I wanted to
> display on one of my pages.
>
>
>
> -----Original Message-----
> From: Adam Cantrell [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 11, 2000 12:34 PM
> To: [EMAIL PROTECTED]
> Subject: filter
>
>
>
> How would one go about supressing cf code within a cf template.  I tried
> cfsilent, but that supresses everything - I still want html output.  Let's
> say I have text in a db field - when I try to output it and it
> contains tags
> such as <cfoutput> or even worse <cffile> - those tags get executed.  I
> don't want to put the output within <pre> tags or in an
> #htmlcodeformat()#.
> Does anyone know of a custom tag, or has anyone else accomplished this
> seemingly easy task?  Adam.
>
> ------------------------------------------------------------------
> ----------
> --
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> ------------------------------------------------------------------
> ------------
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to