62,046
社区成员
发帖
与我相关
我的任务
分享
protected void b3_Click(object sender, EventArgs e)
{
l3.Text = "";
string[] str = new string[9];
str[0] = "<a href=\"http://nn.c365.com/newhouse/h234.shtml#teambuy\"";
str[1] = "<a href='http://nn.c365.com/newhouse/h787.shtml#teambuy' target=\"_blank\">";
str[2] = "<a target=\"_blank\" href=\"h234.shtml#teambuy\">我要团购</a>\"";
str[3] = "<a target=\"_blank\" href=http://nn.c365.com/newhouse/h34.shtml#teambuy>我要团购</a>";
str[4] = "<a target=\"_blank\" href='http://nn.c365.com/newhouse/h4.shtml#teambuy'>我要团购</a>";
str[5] = "<a href=\"http://nn.c365.com/newhouse/h2.shtml#teambuy\">>>>我要团购</a>";
str[6] = "<a href=\"http://nn.zp365.com/newhouse/HouseImgList.aspx?hid=2&tid=0\" target=\"_blank\">户型</a>";
str[7] = "<a href=\"http://nn.zp365.com/newhouse/HouseImgGeneralList.aspx?hid=2\" target=\"_blank\">";
str[8] = "<a href=\"http://nn.c365.com/newhouse/h2.shtml#teambuy\">>>>我要团购</a></p>";
for (int i = 0; i < 9; i++)
{
l3.Text += Server.HtmlEncode(Regex.Replace(str[i], @"^<a\s.*teambuy[""']?", @"<a href=""javascript:;"" onclick=""showTeamBuy('$3')""")) + "<br />";
}
}