Regular Expression in Visual Studio 2008
Posted on 2009-05-07
I have a long list of variables which I need to add to a copy constructor e.g.
x1 = rhs.x1;
y4 = rhs.y4;
z100 = rhs.z100;
y8 = rhs.y8;
etc. (involving hundreds of variables).
Now I have another list which looks like this:
x1 = 2.34;
y4 = 8888;
z100 = 3.2;
y8 = FALSE;
I feel there must be a way to use regular expressions to convert the second list into the first.
Can anybody tell me how to do this using regular expressions in Visual Studio 2008 (MFC) i.e. from the VS editor.