Hello,
I have an input text file that I need to loop through and split into structured columns. So far, the input file is setup without headers and delimiter set "\0" and filtered out Null separator rows. I'm having trouble writing regex to define the datasets and range to be identified and extracted. I'm not sure of what the best approach to a solution is.
The input text file layouts data by Company (302, 303, 304, etc) and Instrument Type (DEP, LON, etc). The start of each company's dataset is identifiable by the Company code row and the range ends with the row containing "Company Totals:". I need to capture every company's entire dataset.
Next step is to split the dataset into columns and add columns for the respective Company and Instrument Type codes. The final output should look like the attached excel file.
Thank you in advance for your help and guidance.