0

我如何得到George Bush

"<LABEL>დასახელება ან სახელი, გვარი&lt;/LABEL> <INPUT id=ctl00_ContentPlaceHolder1_txtBuyerName class=inactive_input title=\"მაქსიმალური სიმბოლოების რაოდენობა 90\" name=ctl00$ContentPlaceHolder1$txtBuyerName readOnly value=\"George Bush\"> "

我尝试了几乎所有返回谷歌的模式。

请帮助我,我已经尝试了 3 个小时。

谢谢

4

1 回答 1

2

尝试以下

string input = ...;
var match = Regex.Match(input, @"value=""([^""]*)""");
if (match.Success) {
  var name = match.Groups[1].Value;
  ...
}
于 2012-04-10T15:54:43.277 回答