Bonjour Thierry, yes that made it what I wanted. Sunny days? You lucky one! I am so fed up with the German summer (some days only 10 degrees celsius at noon!!!), I can't tell you. Thank you Tiemo
> -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:use-livecode- > [email protected]] Im Auftrag von Thierry Douez > Gesendet: Donnerstag, 19. Juli 2012 12:10 > An: How to use LiveCode > Betreff: Re: OT: need advice with regex > > on mouseUp > > put "Enjoy the sunny days [at least in my place] :)" into tfilter > > put replacetext(tFilter,"\[.*\]","(done)") into tfilter > > put tfilter > > end mouseUp > > Thierry > > > 2012/7/19 Tiemo Hollmann TB <[email protected]> > > > Hi, > > > > I want to replace a string with an opening and closing square bracket > > and any sign in between with three question marks, like this > > > > put replacetext(tFilter,"[?]","???") into tFilter > > > > I tried to escape the square brackets like this: > > > > put replacetext(tFilter,"\[?\]","???") into tFilter > > > > and get as a result in tFilter only the second bracket replaced. > > > > What am I doing wrong? Thank you > > > > Tiemo > > > > > > > > _______________________________________________ > > use-livecode mailing list > > [email protected] > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
