Remove empty comments in VS2012

To remove empty comments form Visual Studio 2012 use this regular expression:


and replace all the matches with nothing. Just make sure you are only searching in *.cs files. Because this can mess up other files, like JavaScript

Apparently whitespace is matched by (?([^\r\n])\s) in VS search and replace tool. While \s is a white space including new line and carriage return character

Reference to Visual Studio 2012 regular expression search is here: