I have a large text file.
Several chunks of it are delimited by a pair of small strings:
"...zczjczjsstr1pqcqdiocpqsstr2ufusvsdvnvvsstr1nnfnenefenzzezf zefsstr2ydgyrger..."
How could I loop over the text file and delete what appears repeatedly between sstr1 and sstr2?
The result should be:
"...zczjczjufus vsdvnvvydgyrger ...".
Several chunks of it are delimited by a pair of small strings:
"...zczjczjsstr1pqcqdiocpqsstr2ufusvsdvnvvsstr1nnfnenefenzzezf zefsstr2ydgyrger..."
How could I loop over the text file and delete what appears repeatedly between sstr1 and sstr2?
The result should be:
"...zczjczjufus vsdvnvvydgyrger ...".
Comment