Nahuel Posted January 17, 2008 Posted January 17, 2008 You mean... you have the html source and you want to know the title of the document? (the one that shows in your browser's titlebar?) Well they are between the tags <title></title> So it's quite easy: #include <Inet.au3> $URL="www.google.com" $Source=_INetGetSource($URL) $DocTitle=StringRegExp($Source,"(?i)\<title\>(.*?)\</title\>",1) MsgBox(0,"","The title of " & $URL & " is: " & $DocTitle[0]) if that's not what you want, then explain more
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now