I have query if I can remove few lines from a file in between string. I have an example below:
Eg: XML file. < String > Data1 Data2 Data2 < / String >
I have a huge XML file in which I want to search a string & delete the data in between the string. Along with the string.
how is it possible using a shell script?