Displaying page
of
pages;
Items to
Title |
Test
Details
C# or Java Comments
|
Expression |
(/\*[\d\D]*?\*/)|(\/\*(\s*|.*?)*\*\/)|(\/\/.*)|(/\\*[\\d\\D]*?\\*/)|([\r\n ]*//[^\r\n]*)+
|
Description |
This regex searches multi-line, single-line, and XML comments present in C# file.
|
Matches |
/* multi-line */ | // comment | /// XML Comment
|
Non-Matches |
/* multi-line /*
|
Author |
Rating:
Punit Ganshani
|
Title |
Test
Details
VB.NET or VB Comments
|
Expression |
(REM [\d\D]*?[\r\n])|(?<SL>\'[\d\D]*?[\r\n])
|
Description |
Filters out VB.NET and VB6.0 comments.
|
Matches |
REM comment | 'comment | ''' XML comment
|
Non-Matches |
REMA | text='test'
|
Author |
Rating:
Punit Ganshani
|
Displaying page
of
pages;
Items to