html=@"<br>1."+Environment.NewLine+"<br>fg"+Environment.NewLine+"<br>2."+Environment.NewLine+"<br>ghg"+Environment.NewLine+"<br>3."+Environment.NewLine+"<br>ghx";
html=Regex.Replace(html,@"\s","");
string[] strArray=Regex.Split(html,"<[b|B][r|R]>");
int count=(strArray.Length-1)/2;
string[] aimArray=new String[count];
for(int i=0;i<count;i++)
{
aimArray[i]=strArray[2*i+1]+strArray[2*i+2];
}
html=Regex.Replace(html,@"\s","");
string[] strArray=Regex.Split(html,"<[b|B][r|R]>");
int count=(strArray.Length-1)/2;
string[] aimArray=new String[count];
for(int i=0;i<count;i++)
{
aimArray[i]=strArray[2*i+1]+strArray[2*i+2];
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货