QUAKE2K

I have no idea about

[TYPE] ('NUT') -> [ANYHTING ELSE] (i.e 'HEX', 'PLAIN', 'SELF LOCKING') -> [SIZE] -> [MATERIAL] -> [GRADE] -> [FINISH]

What is [TYPE], [ANYTHING ELSE], [SIZE] etc from the string, so it fully depends on your result.
If the results are not correct, no way to write a code.

e.g. in row 10
data = M16 STAINLESS STEEL NYLOC NUTS (BAG OF @
your result = NUT NYLOC M16 ST/ST 25 PACK

in row 13
data = NUT PLAIN HEX
your result = NUT PLAIN HEX 7/8" UNC CL 2B THD

etc.etc...

I can not even start...