in reply to Tab delimited code problem?

Try changing /\t+/ to /\t/ -the plus (+) causes it to grab and split on 1 or more instances of the \t, rather than each one individually. I believe that might help.