i run a command that submits a word to WordNET which stores the search results in a document which looks like this... i searched "car" in this instance
and id like to extract [6]auto, [7]automobile, [8]machine, and store it in a file with the [6], [7], [8] stripped away just the words. WordNET's results' template is always the same so the layout is consistent, therefore [6] word, [7] word, [8] word occurs in the same order. please help! again thank you very much! 
WordNet Search - 2.1
[1]Return to WordNet Home
[2]Glossary - [3]Help SEARCH DISPLAY OPTIONS:
[(Select option to change)] Change
Enter a word to search for: ____________________ Search WordNet
KEY: "S:" = Show Synset (semantic) relations, "W:" = Show Word
(lexical) relations
Noun
* [4]S: (n) [5]car, [6]auto, [7]automobile, [8]machine, [9]motorcar
(a motor vehicle with four wheels; usually propelled by an
internal combustion engine) "he needs a car to get to work"
* [10]S: (n) [11]car, [12]railcar, [13]railway car, [14]railroad car
(a wheeled vehicle adapted to the rails of railroad) "three cars
had jumped the rails"
* [15]S: (n) [16]cable car, [17]car (a conveyance for passengers or
freight on a cable railway) "they took a cable car to the top of
the mountain"
* [18]S: (n) [19]car, [20]gondola (the compartment that is suspended
from an airship and that carries personnel and the cargo and the
power plant)
* [21]S: (n) [22]car, [23]elevator car (where passengers ride up and
down) "the car was on the top floor"
[24]Return to WordNet Home