T
tawright915
Ok so here is my regex (--.*\n|/\*(.|\n)*?\*/). It finds all comments
just fine. However I want it to return to me all strings that are not
commented out. Is there a way to exclude the comments and only show
the non-commented strings
Here is an example of the data that I am working with
/*
select * from db2
*/
/* select * from db3 */
-- select * from db4
select * from db5
I want to only see the select statement for db5. This is for a query
program that I wrote in C# and I need to find out where the comments
query commands are and those that are not commneted.
Thanks
Tom
just fine. However I want it to return to me all strings that are not
commented out. Is there a way to exclude the comments and only show
the non-commented strings
Here is an example of the data that I am working with
/*
select * from db2
*/
/* select * from db3 */
-- select * from db4
select * from db5
I want to only see the select statement for db5. This is for a query
program that I wrote in C# and I need to find out where the comments
query commands are and those that are not commneted.
Thanks
Tom