filter out / replace text string with blank text in text doc
Posted: 28 Mar 2010 00:14
Hi Dostips Batch Scripters,
the bat will filter out / Replace All Specific text string as reference from a text doc (ref.txt) with Blank text into the list in (needfilter.txt) BUT will not Erase the Whole Line together in Series with it..
for example "filter out this text string" but keep this text in series with it.
Result: but keep this text in series with it.
i used notepad successfully replace it but for many Different & LONG text strings need to be filter out in a long list, it is quite time consuming...
So if possible the bat will get the Reference text string from (ref.txt) and
replace all relevant text string in (needfilter.txt) WITHOUT erase its text in series with it..
Do anyone know how to solve script like above??
Thanks.
the bat will filter out / Replace All Specific text string as reference from a text doc (ref.txt) with Blank text into the list in (needfilter.txt) BUT will not Erase the Whole Line together in Series with it..
for example "filter out this text string" but keep this text in series with it.
Result: but keep this text in series with it.
i used notepad successfully replace it but for many Different & LONG text strings need to be filter out in a long list, it is quite time consuming...
So if possible the bat will get the Reference text string from (ref.txt) and
replace all relevant text string in (needfilter.txt) WITHOUT erase its text in series with it..
Do anyone know how to solve script like above??
Thanks.