I have a file that is more than 800 mb (it is a .sql dump saved in UTF-8).
It has useful information but also allot of junk.
Most of the lines that I do NOT need start with funny characters like this:
So I want to REMOVE all lines UNLESS they start with one of the following:
Lines may ALSO begin with a space or a tab.
If a line starts with ANYTHING else then I want the entire line DELETED.
How can I do this with a Perl script that I can exicute from a command line?