Basically what I want to do is parse code, and remove all comments made with "//", including the "//", until a new line appears. I don't know how to effectivly do it in Regex unfortunately.
Some example code might look like this:
variable += 10; //comment to be removed.
more code...
so only "//comment to be removed." gets removed