Team,
I am under going research how to delete the HTML Jargan so you are left with just the text from a website,
is this something that can be done or is it not doable I can display the text of a website but with a load of HTML as well I just want the text not the code of a webpage, Hope this makes sence.
Code to display website information on webpage,
Kind Regards
I am under going research how to delete the HTML Jargan so you are left with just the text from a website,
is this something that can be done or is it not doable I can display the text of a website but with a load of HTML as well I just want the text not the code of a webpage, Hope this makes sence.
Code to display website information on webpage,
Imports System.Net Imports System.IO Public Class form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click TextBox2.Text = getHTML(TextBox1.Text.ToString) End Sub Private Function getHTML(ByVal address As String) As String Dim RT As String = "" Dim WRequest As WebRequest Dim WResponse As WebResponse Dim SR As StreamReader WRequest = WebRequest.Create(address) WResponse = WRequest.GetResponse SR = New StreamReader(WResponse.GetResponseStream) RT = SR.ReadToEnd SR.Close() Return RT End Function End Class
Kind Regards