viktoras didziulis wrote:
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.
Always looking for potential optimizations, I was going to benchmark
that here but couldn't get it to work, even after removing "the". :(
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution