[code]Function getTitle(strText)
Set regEx = New RegExp
regEx.Global = True
regEx.IgnoreCase = true
regEx.Pattern = “/<title[^>]*>([^<]+)<\/title>/im”
getTitle = regEx.Execute(strText)
Set regEx = Nothing
End Function
response.write getTitle(strHTML)[/code]
This code is not working. How do I get the TITLE tag? The name of a page?
For the record, “strHTML” is the complete page in code. That part works!