Need To Extract Text Messages Out Of An Html Document August 29, 2023 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 CopyI've also used the following code to get rid of any irrelevant text before the chat log:Dim SInd, Eind AsInteger SInd = 0 Eind = Log.Text.IndexOf("You're now chatting with a random stranger. Say hi!") Log.Text = Log.Text.Remove(SInd, Eind) CopyThis 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"