We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
The following code shall remove all comments
const string code = @" Option explicit 'comment sub t dim X 'comment with cont _ inuation _ end of comment X = ""It's mine!"" ' inside "" is not a comment designation end sub ";
The result shall be as follows:
Console.WriteLine(Regex(code,<pattern I am asking about>,<null or $1 or what?>))
I expect something working (a little bit) better than my:
Option explicit sub t dim X X = "It's mine!" end sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Coding for the first time||9||99|
|How to escape alias names for Oracle query||1||40|
|How to set focus on a dynamic control||18||47|
|advancedDataGridView / cancel / filter / using / button||5||26|
Join the community of 500,000 technology professionals and ask your questions.