Question:
Can anybody give me a working regex expression (C#/VB.NET) that can remove single line comments from a SQL statement ?
I mean these comments:
I don't know if C#/VB.net regex is special in some way but traditionally s/--.*// should work.
s/--.*//