I would like to do some simple parsing within a batch file.
Given the input line:
Foo: Lorem Ipsum 'The quick brown fox' Bar
I want to extract the quoted part (without quotes):
The quick brown fox
Using only the standard command-line tools available on Windows XP.
(I had a look at find
and findstr
but they don't seem quite flexible enough to return only part of a line.)