Hei i tried to fill DataGridView from MatchCollection
anyone knows how to do this? thanks...
Regex objNotNaturalPattern = new Regex(@txtRegex.Text, RegexOptions.IgnoreCase);
MatchCollection matches = objNotNaturalPattern.Matches(pagesource);
int h = 0;
lbResult.Text += "\n";
while (h < matches.Count)
{
Match m = matches[h];
for (int ctr = 1; ctr < m.Groups.Count; ctr++)
{
lbResult.Text += "- ";
lbResult.Text += m.Groups[ctr].Value + " ";
lbResult.Text += "\n";
}
h++;
}