S
Steffan A. Cline
I am an amateur at best with regexp. I am trying to search for a string
like:
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPD..." />
Within an html document and get the value of value="xxx".
I have this:
Match _viewstateValue = Regex.Match(content, "<input .*?id=\"__VIEWSTATE\"
..*?value=\"([^\"].*)");
But it returns just the whole line not the value... I'm stuck. What is the
best way to drill all the way down to that value?
Thanks,
Steffan
like:
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPD..." />
Within an html document and get the value of value="xxx".
I have this:
Match _viewstateValue = Regex.Match(content, "<input .*?id=\"__VIEWSTATE\"
..*?value=\"([^\"].*)");
But it returns just the whole line not the value... I'm stuck. What is the
best way to drill all the way down to that value?
Thanks,
Steffan