You picked the wrong project to learn on!
For a start you'll need to get all your text into one document. 'cat'
at the command line could do this easily.
For the search the regular expression
".*?"
will find text within quotes. The quote matches itself, the dot
matches any single character, the asterisk says to match that single
character any number of times, the question mark says not to be
greedy--stop matching at the next quote rather than the last quote on
the line.
To delete everything which isn't in quotes you need to search for
(".*?")|[^\1]
and replace with
\1
You can see the original pattern buried in there, how the rest of it
works is still a mystery to me :-)
Note that in all the above every quote needs to have a mate--if you
have an extraneous or missing quote everything's going to turn to
custard.
You should also read the chapter on grep in the TW User Manual --
accessible from the Help menu.
--
Calvin Trillin - "Anybody caught selling macrame in public should be
dyed a natural color and hung out to dry."