git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to remove a string from a txt file?


Hi

I want to remove a string from a txt file and then print out what I have removed. How do I do this.

The txt file is in this format and should be kept in this format.

txt.txt:
laser,cameras,

Thanks