I want to delete specific lines in a text file that contains certain text.
I have a file called ‘TEST.txt’ located at C:\ this is my input file and it contains the following text as example
12122121131
TEST54545
8899665
2887566666
REMOVE45454
757574587485
When I specific ‘TEST’ & ‘REMOVE’ it finds the text in that row and deletes the entire row where the text is specified.
Afterwards
12122121131
8899665
2887566666
757574587485
It then outputs to the same file name
I have a file called ‘TEST.txt’ located at C:\ this is my input file and it contains the following text as example
12122121131
TEST54545
8899665
2887566666
REMOVE45454
757574587485
When I specific ‘TEST’ & ‘REMOVE’ it finds the text in that row and deletes the entire row where the text is specified.
Afterwards
12122121131
8899665
2887566666
757574587485
It then outputs to the same file name