
I have this line and I want to extract some characters (all lines have the same format, but the characters which I want to extract are not the same).
1)
Line is:
<td class="asmall" align="center" valign="bottom">6.3%<br><img src="dir/blue-v.png" alt="817" title="817" height="100" width="15"></td>
Text to extract:
6,3%, blue-v.png, 817 (of title), 100 (of height) and 15 (of width)
2)
Line is:
<td class="rankc10">User1 (91)</td>
Text to extract:
User1 (91)
3)
Line is:
<img src="dir/blue-h.png" alt="" align="middle" border="0" height="15" width="87">
Text to extract:
blue-h.png, 15 (of height), 87 (of width)
4)
Line is:
<tbody><tr><td class="hicell"><b>Fireball</b>: text text text...
Text to extract:
Fireball
More help:
The text I want to extrct is always between <b> and <.b> html tags
5)
Line is:
<td class="hicell" valign="top">crazy_4_loved, thermidis, crazy_4, XXX-7639097181847</td>
Text to extract:
crazy_4_loved, thermidis, crazy_4, XXX-7639097181847
6)
Line is:
<td class="hicell"><a href="http://www.site.com/">http://WwW.Site.CoM</a></td>
Text to extract:
http://WwW.Site.CoM
7)
Line is:
<td style="background-color: rgb(198, 198, 209);" class="male"><a href="http://www.site.com/" target="_blank" title="Ανοιγμα σε νέο παράθυρο: http://www.Site.com">_geo_</a></td><td style="background-color: rgb(198, 198, 209);">28</td><td style="background-color: rgb(198, 198, 209);" nowrap="nowrap"><img src="dir/blue-h.png" alt="" align="middle" border="0" height="15" width="17"><img src="dir/green-h.png" alt="" align="middle" border="0" height="15" width="3"> 129</td><td style="background-color: rgb(198, 198, 209);">"1 fora arkei

Text to extract:
http://www.Site, _geo_, 28, (blue-h.png, 15, 17), (green-h.png, 15, 3), 129, "1 fora arkei

More help:
Number of <img> could be between 1-4
1) ... <img="name" height="num" width="num2"> ...
2) ... <img="name" height="num" width="num2"><img="name2" height="num3" width="num4"> ...
3) ... <img="name" height="num" width="num2"><img="name2" height="num3" width="num4"><img="name3" height="num5" width="num6"> ...
4) ...
I want to extract name and nums
Thx
