Simplified Multi-Line Replace [Replace/Remove Multiple unique Lines from Hosts File]
Posted: Sun Sep 16, 2018 4:19 am
I have a hosts file that is over run with too many entries most of which I don’t want and some which I do. I have another hosts files containing only those hosts I don’t want, in the exact same format. How can I take the list of hosts I don’t want, and multi-line remove/replace them with nothing in my original hosts file?
I have tried all the major software out there, but all of them use the multi line as one contiguous line, instead of each independent line as an independent entry. Or line by line search.
I have 17 thousand unique lines in alpha-numerically descending order I want to remove from the text, and maybe 150 I want to keep. A simple option selection box to treat each new line in the multi-line find dialogue as an individual search/replace expression would fit the bill and save users massive headaches the world around... something like this, without having to add any extra expressions or anything.
Is there any way to do this? Or another way to do this?
I have tried all the major software out there, but all of them use the multi line as one contiguous line, instead of each independent line as an independent entry. Or line by line search.
I have 17 thousand unique lines in alpha-numerically descending order I want to remove from the text, and maybe 150 I want to keep. A simple option selection box to treat each new line in the multi-line find dialogue as an individual search/replace expression would fit the bill and save users massive headaches the world around... something like this, without having to add any extra expressions or anything.
Is there any way to do this? Or another way to do this?