Function to Remove HTML Tags from Text
Mark Schonewille
m.schonewille at economy-x-talk.com
Fri May 1 11:36:18 EDT 2015
Gregory,
set the htmlText of the templateField to myHtmlText
put the templateField into myPlainText
reset the templateField
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Installer Maker for LiveCode:
http://qery.us/468
Buy my new book "Programming LiveCode for the Real Beginner"
http://qery.us/3fi
LiveCode on Facebook:
https://www.facebook.com/groups/runrev/
On 5/1/2015 17:28, Gregory Lypny wrote:
> Hello everyone,
>
> Is there a LiveCode function that will remove all HTML tags from some text? I know how to do it in Mathematica but not LiveCode. I tinkered with MatchText (maybe in combination with ReplaceText?) but I don’t think I’m getting the regular expression right (I rarely use regex) and it is not clear to me that MatchText will move through a piece of text to grab all instances of tags.
>
> Any tip would be most appreciated,
>
> Gregory
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list