Getting the text content of a HTML page
Sarah Reichelt
sarah.reichelt at gmail.com
Sun Aug 3 16:34:57 EDT 2008
> Another question though before I close this bloomin HTML thing and do
> something different (like my abandoned Notepad app).
>
> How do I delete lines (in the resulting text extracted from the html page)
> that contain a url in them? They appear by themselves on separate lines...
>
> I'm currently trying this but really, as you can see, it don't work, and
> that I am confuzzled still by how some things do/are supposed to work:
>
> -- delete lines with a url displayed
filter myText without "*http://*"
The * at the beginning and end of the filter string allow there to be
characters before or after the "http://" string in a line.
All matching lines will be deleted from the variable myText.
It could also have been done in a loop, but not as easily.
Cheers,
Sarah
More information about the use-livecode
mailing list