To straight up answer your question yes there is a pretty simple method you can write. Just look at the string one character at a time and see if it's something you want to keep or not. Once you've got that working start a look ahead.
By this I mean your going to need to look forward say when you get a " till you get another " and not do anything to the text between the two quotes, do the same thing with comments and what not and your good to go.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.