Here's the situation. I'm taking web pages and extracting the data out of them. I need to take everything enclosed in the HTML tags and write them to another file. I know how to read and write to the new file, I just can't seem to figure out how to get only the part of the string enclosed in the HTML tags. For example:
For this line...<TD WIDTH="20"><B><U>1</U></B></TD>
I'll need to get just the number 1

For this line...<TD ALIGN="RIGHT" WIDTH="60">Half Ounce</TD>
I'll need to get just "Half Ounce"

Does anyone know how to accomplish this?