Brian Hasselback wrote:

> I am retrieving the source code from a document using the CFHTTP GET
> command. What I would like to do is Trim the returned Source Code to trim
> out the TITLE of the document for output. I am new at ColdFusion and would
> much appreciate any help you may provide.


<cfset title = 
REReplaceNoCase(cfhttp.filecontent,"<title>([^<])*</title>","\1")>

Jochem


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to