Bereinigen von HTML-Tags mit C #

Zum Beispiel:

<code><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>title</title>
</head>
<body>
    <a href="aaa.asp?id=1"> I want to get this text </a>
    <div>
        <h1>this is my want!!</h1>
        <b>this is my want!!!</b>
    </div>
</body>
</html>
</code>

und das Ergebnis ist:

<code> I want to get this text 
this is my want!!
this is my want!!!
</code>

Antworten auf die Frage(6)

Ihre Antwort auf die Frage