Hi,
If you are talking about extracting the content in the webbrowser control then here is the code, otherwise excuse and explain a bit more.
I am using a richtextbox in this example. This example here shows a walk thorugh all html elements or get a html element by tag (even can get the element by ID as well). Then get each element's details. That way you can split the html into element by element. If you want split any string use the split function
private void button1_Click(object sender, EventArgs e)
{
HtmlDocument doc= (HtmlDocument)webBrowser1.Document;
richTextBox1.AppendText("<html>");
HtmlElementCollection coll1= doc.GetElementsByTagName("head");
HtmlElementCollection coll2 = doc.All;
foreach (HtmlElement element in coll1)
{
string name=element.Name;
string id = element.Id;
string innerHtml = element.InnerHtml;
string outerHtml = element.OuterHtml;
HtmlElement firstChild = element.FirstChild;
HtmlElement nextSibling = element.NextSibling;
HtmlElementCollection children = element.Children;
richTextBox1.AppendText(element.OuterHtml);
}
richTextBox1.AppendText(doc.Body.OuterHtml);
richTextBox1.AppendText("</html>");
}