Hi,
For data processing I import data using a Fixed width flat file which when the data in the input file (usually in .txt format) is correct will import it as shown below:

However let's say the input file has some issue (happens sometimes when a vendor sends it with wrong formatting) and there is an additional tab or space before the first character (or subsequent characters) on any row then the input gets skewed for that row alone as shown below (notice the first row and first column only has 5 numbers. First row and 2nd column has 5 numbers instead of 4 and everything is shifted by one character to the right)

If this was one file, I can manually fix it. But I would like to see if there is some way I can import the data from the text file and then make Alteryx fix these issues so that the output is per the 1st image shown above.
Below is the (correct) format in which data usually occurs in the text file.

And below is when I shifted just the 1st row by 1 space to the right. How can I make Alteryx import the data regardless and fix it in the format (as shown in the very first image)?

Each column has a fixed width and the spacing is also important. So I cannot just strip all spacing and then use substring extract (tried it and it didnt work because it was pulling the number as "520101" whereas the correct format is "5201 " (2 spaces after 5201)).
Thanks