No need to apologize, when we're just giving the feedback we can't answer a question too general. Your concept of data is just differing from a develop perspective.
Your first posting also implied going from a web page to excel is easy. I wonder what you have in mind with that. Perhaps what is described here as manual steps?
Maybe you know an even easier way.
Mike Lewis then already has made the correct assumption you want to extract parts of a web page.
As you want the html tags removed, the easiest would be:
Code:
* use the ie browser
oIE = createobject("internetexplorer.application")
* to navigate to a web page of interest
oIE.navigate2("[URL unfurl="true"]http://www.tek-tips.com")[/URL]
* wait for the page to load
Do While oIE.readystate<>4
Doevents
Enddo
* extract the net text:
? oIE.Document.body.innertext
Just a few lines, but that makes you rather learn OLE automation than foxpro. As said web page handling is not in the core concept of foxpro, it's not a starter to learn VFP.
In regard of the specific problem you want to solve, not striping off the html before parsing the text is the better concept. Because of the M in HTML. HTML is a Markup language, and the markup is what makes it more than just pure text, html tags specify what soemthing is, a heading (H1,H2,...), a paragraph (p), a table (table) a table row (tr) a table cell (td) and so you have both the net text the user sees in the browser and a conceptual description what each part of the docuemnt is.
Parsing out all table cell contents then is using STEXTRACT() with <td> and </td> as the delimiters. And you might even find better delimiters of the net data you want to extract.
Bye, Olaf.