Been struggling with this and wondering if someone can help. I have a large text file that have extra data in it I want to strip out. Here is a sample of the input file:
Text In Page - 1 S Dept l<m RKB) "1915 slightly 234234 "sil dsf 56 "gr gl 1920 100 1925 100 1930 100 Cls "1935 100 Cl Text In Page - 2 l<m RKB) "1915 slightly "sil "gr glauc 1920 100 1925 100 1930 100 Cls "1935 100 Cl I want to remove the following:
- Any blank lines
- Any " at the beginning of lines
- Any lines that begin with a letter A-Z, a-z
So with the above example I'd be left with
1915 1920 100 1925 100 1930 100 Cls 1935 100 Cl 1915 1920 100 1925 100 1930 100 Cls 1935 100 Cl
"at the beginning of lines, not get rid of those lines.