I've been trying (unsuccessfully) to solve this problem for a few hours and need some help. I used Firebug to extract a couple hundred lines of HTML that look like this:
<option value="1b4f4aed-cf1f-4b39-ae27">Foo</option>
<option value="1a05f93f-dd51-449d-b039">Bar</option>
<option value="f62d2d29-29fc-4f7c-9331">Bacon</option>
I saved the lines to a text file. What I want is a (Python preferred, with Ruby as an alternative) script to open process and close the file. The processing should result in a new text file being saved that looks like this:
Foo
Bar
Bacon
That's it. Thanks in advance for your help.