好吧所以這裏是HTMLVB.NET抓取文本
<li class="comment "
data-author-viewing="False"
data-id="FqTXOQTcyYaaGaT51z1St1pYFZW5ycutLsrLpoFIJow"
data-score="0"
data-author="pervychika666">
<div class="comment-body">
<div class="content-container">
<div class="content">
<div class="author ">
<a href="/user/pervychika666" title="pervychika666">pervychika666</a>
</div>
<div class="comment-text" dir="ltr">
<p>Look at the female audience, they were all giggling and excited, a lot of women got excited with gay erotica, I admit I'm one of them.</p>
</div>
</div>
<div class="metadata">
<span class="comment-actions comment-extra-actions"><a class="comment-action" data-action="flag">Flag</a><span class="comment-action-block"><span class="comment-metadata-separator">•</span><a class="comment-action" data-action="block">Block User</a></span><span class="comment-action-unblock"><span class="comment-metadata-separator">•</span><a class="comment-action" data-action="unblock">Unblock User</a></span><span class="comment-action-remove"><span class="comment-metadata-separator">•</span><a class="comment-action" data-action="remove">Remove</a></span></span>
<span class="time">
2 days ago
</span>
<span class="comment-actions"><span class="comment-action-vote-up"><a class="comment-action" data-action="vote-up">Like</a><span class="comment-metadata-separator">•</span></span><span class="comment-action-vote-down"><a class="comment-action" data-action="vote-down">Dislike</a><span class="comment-metadata-separator">•</span></span><a class="comment-action-reply comment-action" data-action="reply">Reply</a></span>
</div>
</div>
</div>
</li>
<li class="comment "
data-author-viewing="False"
data-id="FqTXOQTcyYagrOGji01HrGJn0tzIJeY4w1rxok5jrp0"
data-score="0"
data-author="mykellluvs">
<div class="comment-body">
<div class="content-container">
<div class="content">
<div class="author ">
<a href="/user/mykellluvs" title="mykellluvs">mykellluvs</a>
</div>
<div class="comment-text" dir="ltr">
<p>I love their faces when they pull away from the kiss ;D</p>
</div>
</div>
現在在哪兒它像數據,筆者=「mykellluvs」>我希望它搶名字mykellluvs,但這樣做對他們都造成有更多的則是一個數據筆者=」的東西在頁面上,將其粘貼到文本框
我怎麼能做到這一點?
嘗試使用['HTMLAgilityPack'](http://www.codeplex.com/htmlagilitypack)這樣的事情... – Yahia
我忍不住內容上的LOL ....無論如何,你可以用WHILE循環做這個 - 而你的HTML字符串包含'data-author =''從等號開始到下一個「(或者如果你喜歡的話修剪」「)。這不是一個強有力的解決方案,但如果你正在尋找快速和骯髒的,它是要走的路。 –