It's a little sloppy, but you could download Expresso (
http://www.ultrapico.com/ExpressoDownload.htm), then copy/paste the text of the file into the "Sample Text" pane. Put the regex below in the "Regular Expression" pane. Select the "Design Mode" tab near the top of the window, and clear out anything from the "Replacement String" pane (i.e. leave it blank). Then go back to the "Test Mode" tab and click "Replace" (found on the line just below the tabs themselves). The results will appear in the "Replaced Text" pane, from which you can copy and paste into your file.
I tested it on a 25 MB file and it took only a few seconds to process. I'm not sure how large "the file is so huge" is, but I believe this could get you by.