I need to find all Response.Redirect();‘s which do not end with true, true);
I think using a Regex with Search in Visual Studio is the best option to find those, but i have no idea on how to make that regex. in the response.redirect can be anything, but it can’t end on true, true);
Those are the ones I want to find.
Any idea on the regex?
I think this should work:
Search for “Response.Redirect”,
– followed by 0 or more white spaces
– followed by a (
– followed by the shortest sequence of any chars
– that doesn’t terminate by true, true );