views:

52

answers:

1

Similar to this question. I would like to find all commented files. But in my case /* */ is a possibility.

Apparently when you write changes to a database project, dropped objects are only commented out instead of deleting the file. I would like to remove all of these commented out files from the project.

Is is possible to find all files which start with /* and end with */?

A: 

Studio allows you to search with regular expressions so you could write a regular expression to find /* at the beginning and */ at the end of any file. I'm no regex wizard so I'm not sure of the exact syntax. Maybe something like \/*.*\/ would work?

Any regex gurus know the proper expression here?

MadMoai