Hi,
you could extract the body content like this:
string ExtractBody(string html)
{
int bodyBegin = html.IndexOf("<body>") + "<body>".Length;
int bodyEnd = html.IndexOf("</body>");
int bodyLength = bodyEnd - bodyBegin;
return html.Substring(bodyBegin, bodyLength);
}
Happy coding,
Stephan