Search and remove
Good Day all.
I want to be able to check the contents of a text file for a specific string and remove it from the file from the command prompt.
I would basically be searching through a number of files and if a specific string is found I would like it removed automatically.
pretty much a find and replace, were the replace is nothing. any one got any ideas on how you would do this. I already have the search part sorted just need to be able to remove the string I don't want from the multiple files.
Thanks
|