Quote Originally Posted by 2kaud View Post
What language are you using?

c, c++, c++/cli, c#, f#, vb.net - other?
c++

I also found the solution I was looking for (below is the regular expression):
Code:
#.*.*
This will replace any text that starts with # and contains any other character except the new line.
The last asterisk means that if there is text that contains only # and nothing else, take it into account too.