i am testing one ASP.NET apps.
Using regex extracting viewstate & eventvalidation is usual.
sometimes - we need to extract __viewstate & __eventvalidation parameters from the response of POST request. (This happens when there are back to back POST request for any Trans).
i am finding difficulties in doing this.
As many of u know, the response of POST where these parameters are present - is something like this:
<font color="red"> </font>
i used this regular expression for VIEWSTATE.
(/w.+==) <font color="blue"> </font>
in Regexp Tester it's giving proper value.
but at run time it's not giving proper value.
further for eventvalidation i used this one
<font color="blue"> </font>
but still it contains "|" at the end.
kindly help, how i proceed?
one option is
No one can see beyond their choice!
Thanks for ur response.
i got the solution.
Using following Regex expression, we can extract properly.
so no need for further processing.