in reply to Re: Re: I just cannot figure out the greedy regex
in thread I just cannot figure out the greedy regex

And just to amend to the post by Roger that you might also want to remove quoted strings with newlines in them, lest you wish to end up with very strange results, with the following regex:

s/"(?:\\"|.)*?"//gs;