RegExp

[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!

more information please, HTMLViewer or ???
what is RegExp ?

And what language is that written in?

Excuse me! I type too fast!
RegExp = regular expression and the language is Classic ASP.

You should ask this question on a classic ASP forum then.