in reply to Re^2: Split Tab separated text file into valid and invalid records
in thread Split Tab separated text file into valid and invalid records

Check the documentation of the modules I recommended. There is some sample code there.

Also please use code tags to make your posts more readible.

  • Comment on Re^3: Split Tab separated text file into valid and invalid records