Using scanner to read phrases
===

Hey StackOverflow Community,

So, I have this line of information from a txt file that I need to parse.

Here is an example lines:

->   date & time            AC Power      Insolation     Temperature     Wind Speed<br>
->   mm/dd/yyyy hh:mm.ss          kw           W/m^2           deg F            mph

Using a scanner.nextLine() gives me a String with a whole line in it, and then I pass this off into StringTokenizer, which then separates them into individual Strings using whitespace as a separator.

so for the first line it would break up into:
date
&
time
AC
Power
Insolation
etc...

I need things like "date & time" together, and "AC Power" together. Is there anyway I can specify this using a method already defined in StringTokenizer or Scanner? Or would I have to develop my own algorithm to do this?

Would you guys suggest I use some other form of parsing lines instead of Scanner? Or, is Scanner sufficient enough for my needs?

ejay