Hi,
What I want to do is:
I have a "file.txt" like this:
Code:
hi
mom
zzz
the
pasta
tomorrow
night
zorro
zheta
zing
I need to delete all words that starts with 'z', so after remval it will be:
Code:
hi
mom
the
pasta
tomorrow
night
so I need to delete from the
same file which I read from, and there must not be empty lines after removal.
Is it possible?
thanks a lot