I'm looking for a windows software which can bulk delete lines in text files after a specific line.
For example, a file contains 5 lines. I want to delete lines after the third line. see:
Line 1
Line 2
Line 3
xxxxxx
xxxxxx1
Here, I want to keep first 3 lines(line 1, line 2, line 3) and delete remaining 2 lines(xxxxxx, xxxxxx1) and automatically save that text file. I want to do this to multiple text files. Want to delete every line after the 3rd line in every text file inside a folder.
Any windows software for this?