You could also do the usual Split() with space/tab and then discard the undesirable entries by looping through the resulting array.