I have a .txt file with contents similar to this:
- 100 150 180 200 300 400
- 100 200 250 350 380 400
- 100 160 170 400 450 500
- 100 120 140 160 180 200
- 100 120 140 160 180 300
I want to grab all the lines, starting from a specific column (like 2, 3 or any other) that contains '100' and '200' in any postion and then output it to another separate txt file. How can I do that? In the example above, the correct print should be:
- 100 150 180 200 300 400
- 100 200 250 350 380 400
- 100 120 140 160 180 200
I have tried using sublime's "Find All" feature and then use the right arrow to the end of the line to highlight them, but unfortunately some lines are much longer than the others so it doesn't work.
100
and200
in fields from 3 on, so ir's impossible to get at your desired output. – RudiC Dec 07 '18 at 21:30