Catsworth
April 20th, 2009, 09:20 AM
Hey Guys :)
I've got some HTML source that contains elements for a drop-down selection box on a page.
Each selectable option is delimited in the following fashion:
<option>This is Option 1</option>
At present all of the options are in one long line in the source, I would like to split each option out into a separate line in a new text file called by_line.txt.
Anybody got any ideas where I could start with this?
Thanks :)
I've got some HTML source that contains elements for a drop-down selection box on a page.
Each selectable option is delimited in the following fashion:
<option>This is Option 1</option>
At present all of the options are in one long line in the source, I would like to split each option out into a separate line in a new text file called by_line.txt.
Anybody got any ideas where I could start with this?
Thanks :)