I need to extract the text from a document with lots lines like this:
Code: Select all
The lines always begin with whitespace, then there is 1 word, with or without 1 or more hyphens, and the line always ends with a number.
All I need is the word.
I'll need TextPipe to extract the words and save them to a text file.
Each word is on its own line and will have its own line in the text file.
Please give me a starting point, it cannot be that difficult, but I just don't get it.
Thanks a lot!