remove html tags from text
Jim Ault
JimAultWins at yahoo.com
Fri Sep 8 18:45:16 EDT 2006
> I did not know replaceText command could use wildcard as an argument ...
> it is fantastic.
The replaceText function actually uses RegEx, not wildcards. There is a
major difference.
Filter command -- uses wild cards
ReplaceText, MatchText, MatchChunk functions -- use RegEx
Jim Ault
Las Vegas
On 9/8/06 1:42 PM, "paolo mazza" <paolo.mazza at neol.it> wrote:
> You are great ... so many solutions.
>
> I wuold go for ... (I did not know replaceText command could use wildcard)
> ... it is fantastic.
> I have to say documentation does not mention this.
>
> function stsStripHTML what
> put replaceText(what,"<.*?>","") into noHTML
> return noHTML
> end stsStripHTML
>
> I did not know replaceText command could use wildcard as an argument ...
> it is fantastic.
> I have to say documentation does not mention this.
>
> I am really impressed by your smartness.
>
> Thanks
>
> Paolo Mazza
>
More information about the use-livecode
mailing list