I need to extract text from file between 2 delimiters and copy it to TXT file. This text looks like XML code, instead delimiters <string> text... </string>
, I have :::SOURCE text .... ::::SOURCE
. As you see in first delimiter are 3x of ':' and in second are 4x of ':'
Most import is that there are multiple lines between these 2 delimiters.
Example of text:
texttexttexttexttexttexttexttexttext
texttexttexttext
:::SOURCE
just this text
just this text
just this text
just this text
...
just this text
::::SOURCE texttext
texttexttext
Desired output:
just this text
just this text
just this text
just this text
...
just this text