Simple Visual Studio 2005 regular expression to swap variable assignments

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;

All posts