Get product key from text file

(imported topic written by Braian)

HI All,

How can i get only the product key if i have this content of a text file in one line only.

Microsoft Office Professional Plus 2010 82503-018-0000106-48280 VYBBJ-TRJPB-QFQRF-QFT4D-H3GVB C:\Program Files (x86)\Microsoft Office\Office14\ BRAI-PC 2/11/2014 2:56:54 PM

thanks,

Braian

(imported comment written by jgstew)

is this data separated by a single tab character between each? or the same number of spaces between each?

If so, you could split the line on the tabs/spaces and then grab the 3rd string of the split.

This is not correct, but something like: ( item 2 of split “” of line of file )