Hi, thank you for your help.
Yes I take multi-lines detail mask because i need to capture all the fields in the 3 INFORMATION blocks in a single report line (all fields from <field1> to <fields15> on the same line).
I have tried the advanced properties for the fields but its a bit complicated as the contents of the fields are variables. (only INFORMATIONS is always here)
Is this a basic text file you are working with or an extraction from a PDF(or something similar)?
If you have a working model for versions of the report before Septembre AND if the only difference is the the blank line one option might be to pre-process the text file to remove blank lines.
If you are using the model once a week or once a day it does not add much time to the process. If you work with a hundred files a day it may not be such a good approach unless you have Automation available.
Alternatively, if your fields are all NAMED in the file - usually seen in the style
FIELD NAME: data for the field FIELD NAME 2: data for the field
Then you might be able to adopt the "Preceding String" option to pick out the fields independent of the line on which they appear in the record. However they need to be in a consistent position horizontally in the report.
The third option, which would make the model somewhat adaptable should any future versions of the report introduce additional differences, would be to capture all of the report rows as blocks (or a single block) of text and then process the extracted data into the fields you require using calculated fields.
I am assuming here that you are using Monarch Classic rather than Data Prep Studio for your processing. It might be useful to know which version you have.
I suppose there is also the question of where the blank line came from.
With a basic text file it might be something as simple as a line wrapping due to a change of report width somewhere during formatting. I assume you have already eliminated that possibility?
Does any of this help at all?