I have a regular text file. I need to extract the block between "report data" and "end of report data": text lines more and more lines ............ report data text line needed 1 text line needed 2 text line needed n end of report data ............ more and more lines What's the best way to approach this? An example would be really appreciated. Thank!
Not that trivial. I suggest you read the lines line by line and aggregate them in a tJavaRow with a StringBuilder and check the lines for your marker lines. You will hardly find one building an example for that. This is a typical use case where we use plain java programming.