I'm currently trying to get everything between
<p><strong>http://website2.website.com/</strong><br />
and
<p><strong>
</strong></p>
<p><strong>http://website2.website.com/</strong><br />
<strong>1234123:12rwe</strong><br />
<strong>ewqwe:rjbvm225</strong><br />
<strong>mel35:zzrg</strong><br />
<p><strong>
This is what I have so far
MatchCollection RealMe = Regex.Matches(html, @"website2(.*)<p><strong>", RegexOptions.Singleline);
foreach (Match combo in RealMe)
{
if (!combot.Value.Contains("xhtml"))
{
listboxRealMe.Items.Add(combo);
}
}
This issue with this is that the listboxRealMe adds everything into one line, instead of creating a new item for each line
website2(.*?)<p><strong>improve the situation?