Hope that helps okay thanks to cjjer and Boo, I've just read more about regex and finally the code below is working for me.
Dim qq As New System.Net.WebClient
Dim theuri As New Uri(TextBox1.Text)
Dim res As String = qq.DownloadString(theuri)
Dim re As Regex = New Regex("<title\b[^>]*>(.*?)</title>", RegexOptions.Singleline)
Dim ma As Match = re.Match(res)
If Not ma Is Nothing And ma.Success Then
How can I read the page title of the parent page from an iframe?
I wish this helpful for you I have a page that calls another page(on another server) and I want that page to read the title from the parent page. Is this possible or is there some security issue with this? , You cannot communicate across servers like that.
Any of those help I did some extensive search and could not find the solution. As an alternative, I did a HttpWebRequest and saved the file locally after parsing the Title and loaded the same to webBrowser object.
Magento : How to get category page title attribute (meta title) as html page title