Getting the text content of a HTML page

viktoras didziulis viktoras at ekoinf.net
Mon Aug 4 04:35:34 EDT 2008


one more way to do things using regular expressions:

put the replaceText(myText,"</?[A-Za-z]+>","") into myText

will simply replace all tags with empty string. Where myText is the text 
where replacements have to be made. </?[A-Za-z]+> is a regular 
expression matching most html tags and "" is empty replacement string.

Viktoras





More information about the use-livecode mailing list