c# 正则表达式
<input type="hidden" name="formhash" value="59c61016" /> 我要取59c61016 怎么写 在winform中 正则表达式 winform c#
[解决办法]
string str=@"<input type=""hidden"" name=""formhash"" value=""59c61016"" /> ";
str = Regex.Match(str, @"(?i)<input[^>]*?name=(['""]?)formhash\1[^>]*?value=(['""]?)([^'""]*?)\2[^>]*?>").Groups[3].Value;//59c61016