Make sure you check on the option use the regular expression
.
- Find what:
Session\("{.*?}"\)
- Replace with:
Session["\1"]
Note: using lazy operator ?
here is try to stop when finding the first match. Thus, it should be able to handle cases like:
Session("Types") = new SelectList(xxx, "Code", "Description");
((((Session("something)))))))))"))))
P.S.: In VS2013, you should use the following instead:
- Find what:
Session\("(.*?)"\)
- Replace with:
Session["$1"]