Simple Visual Studio 2005 regular expression to swap variable assignments

Tuesday, July 21, 2009 Labels: , ,
Here is a simple regular expression to use in Visual Studio 2005 to swap the variable/object and assignment.
Find What: mySettings.{.+} = {.+};
Replace With: \2 = mySettings.\1;
Older Post Home Newer Post