ReadList["test.dat", Table[Record, {3}], RecordSeparators -> {" ", "\n"}] /. "-1.#IND00" -> Indeterminate // ToExpression One can also use the `RecordLists -> True` option for irregular data.