Help out a newbie here. I am trying to check duplicate content from forum posts. So far I have downloaded the source with webclient and tried Regex as well as mshtml without any luck. I am getting the lines with mshtml but not in the way I wanted, means I am not being able to seperate the individual comments. The source I am trying to read goes below :
<p>
Hey Alton!</p>
<p>
I am facing this problem also but i have search on the internet for the solution. There are few things that we need to do to solve this problem.</p>
<p>
First of all make sure that you have latest drivers for you Graphics Card.</p>
The Codes I have tried so far
Regex:
Dim r As New System.Text.RegularExpressions.Regex("<p> .* </p>")
Dim matches As MatchCollection = r.Matches(result)
For Each itemcode As Match In matches
ListBox1.Items.Add(itemcode.ToString)
Next
....
....
....
tag. I am trying to use the regex to get all the comments and store them in a list box. @ Oded I downloaded and tried to use HTML Agility Pack but couldn't find any helpful tutorials.