When using the Find command in Visual Studio, what is a regex that can be used to find blocks of comments in C# code (i.e. comments on consecutive lines) e.g.
// No need to find single line comment
void Foo()
{
// I want to find this line.
// And this line, because they are
// on consecutive lines
}
I sometimes will rework code by commenting out the original version, work on a copy, and then later on coming back and to delete the original commented out code. I'm looking for a regex that will help me to locate the commented out code.
//TODOcomments, which show up in the Task List. You can even make custom task tokens (see link I provided).