可以实现 string str = " xx<br> xx<br> xx<br> xx<br> xx<br> " ; string [] sArray = Regex.Split(str, " <br> " ); 可以实现 string[] sArray=str.Split(';'); string[] sArray=str.Split(';'); string[] sArray = new string[11]; string[] sArray2 = new string[8]; sArray2[0] = "联 系 人:"; sArray2[1] = "联系电话:"; sArray2[2] = "传真号码:"; sArray2[3] = "手机号码:"; sArray2[4] = "详细地址:"; sArray2[5] = "Email :"; sArray2[6] = "QQ :"; sArray2[7] = "MSN :"; try { sArray[9] = webBrowser.Document.GetElementsByTagName("table")[7].GetElementsByTagName("td")[3].InnerText; sArray[8] = webBrowser.Document.GetElementsByTagName("table")[12].GetElementsByTagName("span")[0].InnerText; sArray[10] = xid; string htmlspan = webBrowser.Document.GetElementsByTagName("table")[12].GetElementsByTagName("span")[1].InnerHtml; string[] br = Regex.Split(htmlspan,"<BR>"); for (int i = 0; i < br.Length; i++) { for (int j = 0; j < sArray2.Length; j++) { if (br[i].IndexOf(sArray2[j]) > -1) { sArray[j] = br[i]; j = sArray2.Length; } } } AddCompany(sArray); } catch (Exception e) { LogWriter(e.ToString()); LogWriter("公司信息提取失败------------------------------------------" + DateTime.Now.ToString()); }