Ever worked on removing comments from a C#, Java, VB and VB.Net code?

Well, just adding 2 reg-ex to your library…

Click Regexlib.com to navigate to the actual page

C#/Java Matches: /* multi-line */ | // comment | /// XML Comment

VB/VB.Net Matches: REM comment | ‘comment | ”’ XML comment