das ist der komplette Quellcode:
Code:
<div style="float: left;">
<table class="table" style="width: 250px;">
<tr>
<th>Sell Price: </th>
<td><span class="gw2money-fragment">3 <i class="gw2money-gold">g</i></span> <span class="gw2money-fragment">79 <i class="gw2money-silver">s</i></span> <span class="gw2money-fragment">90 <i class="gw2money-copper">c</i></span> </td>
</tr>
<tr>
<th>Buy Price: </th>
<td><span class="gw2money-fragment">3 <i class="gw2money-gold">g</i></span> <span class="gw2money-fragment">3 <i class="gw2money-silver">s</i></span> <span class="gw2money-fragment">12 <i class="gw2money-copper">c</i></span> </td>
</tr>
<tr>
<th>Last updated: </th>
<td>27 minutes ago</td>
</tr>
<tr>
<th>Supply: </th>
<td>1175</td>
</tr>
<tr>
<th>Demand: </th>
<td>1091</td>
</tr>
</table>
</div>
da möchte ich das unter "Buy Price" Ausscheiden(Gold, Silber und Bronze) und die Zahlen jeweils in eine Variable speichern lassen.
Also genau das:
class="gw2money-fragment">3 <i class="gw2money-gold">g</i>
class="gw2money-fragment">3 <i class="gw2money-silver">s</i>
class="gw2money-fragment">12 <i class="gw2money-copper">c</i>
kann mir jemand bitte helfen

Code mit Erklärung wäre echt nett
Edit1:
habs jetzt so versucht:
Code:
Dim rBronze As New Regex("(?<=<th>Buy Price: </th>+?class=" & Chr(34) & "gw2money-fragment" & Chr(34) & ">)(.*?)(?= <i class=" & Chr(34) & "gw2money-copper" & Chr(34) & ">c</i>)")
Dim mBronze As MatchCollection = rBronze.Matches(s, RegexOptions.Singleline)
geht aber leider auch nicht, hab sogar Singleline mit rein genommen
und so:
Code:
("(?<=<th>Buy Price: </th>\nclass=" & Chr(34) & "gw2money-fragment" & Chr(34) & ">)(.*?)(?= <i)")
geht auch nicht

wenn ich das "<th>Buy Price: </th>\n" entferne gehts aber da bekomm ich 5 Matches, will aber nur einen !