Find/Replace in Visual Studio using regular expressions
Usually Find/Replace gets the job done for what I need, although sometimes using “Replace All” can break more stuff that it fixes. But today I had this function I wanted to get rid of and simple change it with a public variable. So I had something like this. object->setLayer(/*BLABAL BLA CODE, */); I want to replace it with something more simple object->Z = /*BLABAL BLA CODE, */; So using Visual Studio Find/Replace in regular expressions mode I used this as a search string...