Extract HTML page title - ColdFusion regular expression
To extract a page title from a HTML page that has either been pulled from CFHTTP, a stored local file or from the ColdFusion page output:-
<cfset RegExp = REFindNoCase("(<title[>])(.*)(<\/title>)", myFile, 1, True)>
<cfif RegExp.len[1] gt 0>
<cfset pageTitle = mid(myFile, RegExp.pos[3], RegExp.len[3])>
</cfif>

it'll make it non-greedy, and try to select as little text as possible that matches the criteria.
<cfset pageTitle = "">
<cfset RegExp = REFindNoCase("<title\b[^>]*?>([^<]+)</title>", cfhttp.fileContent, 1, True)>
<cfif RegExp.len[2] gt 0><!--- Get 2nd grouping --->
<cfset pageTitle = mid(cfhttp.fileContent, RegExp.pos[2], RegExp.len[2])>
</cfif>