When I want to import data (.txt or .dat) for plotting, I can just use the
Import. Problem is that, sometimes the data in the files are separated by comma, sometimes they don't. Sometimes they are arranged in columns nicely, sometimes they are just in one line. My usual approach is to 'beautify' the data manually, by making sure that each pair of data occupies one line, and the coordinates are separated by the
tab key without any comma. This works for a small number of data, and will be impossible for large amount of data.
So my question is, are they any ways to import data regardless of how they are arranged in the data file?