yes, but in a relatively limited sense.  Some functions that use regular
expressions.

rereplace()
rereplacenocase()
refind()
refindnocase()

An ugly example that will remove doubleclick adds from the content of a page
(along with everything between them, text, images, line breaks, whatever....

<cfset Output =
ReReplaceNoCase(cfhttp.filecontent,"(<a[[:space:]]href[[:space:]]?=[[:space:
]]?""http://ad.doubleclick.net[^>]*>[^<]*<[^/]*/[^a]*a[^>]*>)","","ALL")>


Like I said, its an ugly example. :)

Fred

----- Original Message -----
From: "Bryan Rieger" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, March 12, 2001 9:03 AM
Subject: Stupid Question - Regular Expressions?


> Hello,
>
> This may well qualify for the dumbest question of all time.
> But here, goes. Does CF support regular expressions?
> I can't seem to find any mention of them within Ben's book or on the
Allaire
> support site?
>
> Cheersm
>
> Bryan Rieger
> Lead Developer, r&d projects
>
> Trapeze Media
> http://www.trapeze.com/
>
> Now Playing: A broadband suspense-thriller by Trapeze.
> http://www.safehouselive.com/
> ------------------------------------------------------------
> "A pleasant illusion is better than a harsh reality."
> Christian Nestell Bouvee
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to