I need to parse Windows text file and extract all data related to operations. Operations
are separated with $OPERATION and $OPERATION_END. What I need to do is extract all text blocks for all operations. How can I do it effectively
using regex or simple String methods. I would appreciate you provide small snippet.
$OPERS_LIST
//some general data
$OPERATION
//some text block
$OPERATION_END
$OPERS_LIST_END
to get all operations from the list: