C# 字符串截取最优方法探讨?
<br><b><font color=#c00000>百位排序</font></b><table border=1 cellspacing=1 bordercolorlight=#C00000 bordercolordark=#FFFFFF><tr><td nowrap align=center valign=bottom>27<br><img src=../images/bar.gif width=11 height=27></td><td nowrap align=center valign=bottom>23<br><img src=../images/bar.gif width=11 height=23></td><td nowrap align=center valign=bottom>22<br><img src=../images/bar.gif width=11 height=22></td><td nowrap align=center valign=bottom>20<br><img src=../images/bar.gif width=11 height=20></td><td nowrap align=center valign=bottom>19<br><img src=../images/bar.gif width=11 height=19></td><td nowrap align=center valign=bottom>14<br><img src=../images/bar.gif width=11 height=14></td><td nowrap align=center valign=bottom>13<br><img src=../images/bar.gif width=11 height=13></td><td nowrap align=center valign=bottom>9<br><img src=../images/bar.gif width=11 height=9></td><td nowrap align=center valign=bottom>8<br><img src=../images/bar.gif width=11 height=8></td><td nowrap align=center valign=bottom>7<br><img src=../images/bar.gif width=11 height=7></td></tr><tr class=tdr><td>1</td><td>2</td><td>4</td><td>0</td><td>7</td><td>6</td><td>5</td><td>3</td><td>8</td><td>9</td></tr></table><br><b><font color=#c00000>十位排序</font>
1. 要截取“百位排序” - 到 “十位排序”的字符怎么处理?
2. 最后要得到这里面的几个数字怎么做?
class=tdr><td>1</td><td>2</td><td>4</td><td>0</td><td>7</td><td>6</td><td>5</td><td>3</td><td>8</td><td>9</td></tr></table><br><b><font color=#c00000>十位排序</font>
1240765389
------解决方案--------------------C# code
string s = @"<br><b><font color=#c00000>百位排序</font></b><table border=1 cellspacing=1 bordercolorlight=#C00000 bordercolordark=#FFFFFF><tr><td nowrap align=center valign=bottom>27<br><img src=../images/bar.gif width=11 height=27></td><td nowrap align=center valign=bottom>23<br><img src=../images/bar.gif width=11 height=23></td><td nowrap align=center valign=bottom>22<br><img src=../images/bar.gif width=11 height=22></td><td nowrap align=center valign=bottom>20<br><img src=../images/bar.gif width=11 height=20></td><td nowrap align=center valign=bottom>19<br><img src=../images/bar.gif width=11 height=19></td><td nowrap align=center valign=bottom>14<br><img src=../images/bar.gif width=11 height=14></td><td nowrap align=center valign=bottom>13<br><img src=../images/bar.gif width=11 height=13></td><td nowrap align=center valign=bottom>9<br><img src=../images/bar.gif width=11 height=9></td><td nowrap align=center valign=bottom>8<br><img src=../images/bar.gif width=11 height=8></td><td nowrap align=center valign=bottom>7<br><img src=../images/bar.gif width=11 height=7></td></tr><tr class=tdr><td>1</td><td>2</td><td>4</td><td>0</td><td>7</td><td>6</td><td>5</td><td>3</td><td>8</td><td>9</td></tr></table><br><b><font color=#c00000>十位排序</font>";
MatchCollection