Hi,
I have a flat file which I am converting to XML. It has a "header" region and multiple "detail" regions, all separated by extra empty lines. I need a way of specifying that the REGION (NOT a row/record) starts at a specific regular expression pattern.
This is because the header region can be of a variable number of rows - hence when there are more rows output, the regions begin parsing the data at the wrong place because they always start parsing at a specific line number or byte position (depending on what has been configured).
Is it possible to make regions dynamically select their starting position, or do they always start at a specific line number/byte number?
Thanks! UserGroup.txt Sample text file
|