Need To Extract Text Messages Out Of An HTML Document August 31, 2022 Post a Comment Hello, I have a long HTML document, this is only the part that interests me: Document.Body.InnerHtml property to get the text output in a richtextbox, so I can easily deal with the text instead of dealing with the HTML code. OmegleHTML.Text = Omegle.Document.Body.InnerHtml WebBrowser1.Document.Body.InnerHtml = OmegleHTML.Text Log.Text = WebBrowser1.Document.Body.OuterText Copy I've also used the following code to get rid of any irrelevant text before the chat log: Dim SInd, Eind As Integer SInd = 0 Eind = Log.Text.IndexOf("You're now chatting with a random stranger. Say hi!") Log.Text = Log.Text.Remove(SInd, Eind) Copy This is the closest I've got. If you have a better answer, please post it. Share Post a Comment for "Need To Extract Text Messages Out Of An HTML Document"
Post a Comment for "Need To Extract Text Messages Out Of An HTML Document"