i have this Html code:
<div id="top" style="something i dont know">
Text
</div>
And i only want to get the string "Text". My script looks like this:
Regex search_string = new Regex("<div id=\"top\".*?>([^<]+)</div>");
Match match = search_string.Match(code);
string section = match.Groups[0].Value;
MessageBox.Show(section);
Is this even possible with C#?