irregular expression

jbv jbv.silences at club-internet.fr
Fri Jul 14 09:14:40 EDT 2006


Terry,

I use the following and it works :

     put  "<[^><]*>" into tRex
     put replacetext(myVar, tRex, "") into myVar

Best,
JB


> Hi,
>
> I have a problem with regular expressions. I want to use
> put replacetext(myVar,"</?a[^>]*>","") into myVar
> to delete all hyperlinks form a HTML file. I am totally convinced the regular
> expression is correct since it works correctly in another GREP-enabled
> application (BBEdit). Yet the line of code doesn't change a thing; all
> hyperlink tags are still there. How can this be?
>
> Terry




More information about the use-livecode mailing list