Hi Klaus, Maybe iterate the lines - untested... repeat for each line l in fld 1 if and( offset( “[“, l) > 0 , offset(“]”, l) > 0 ) then put line l of fld 1 into tList end repeat
put tList Best, Keith > On 19 Nov 2020, at 15:19, Klaus major-k via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Hi all, > > I am surely missing something here with filter. > > I have a field with some lines like: > ... > [500] > text yadda > yadda > [100] > ... > And want to filter the field that only the lines with [...] remain in the > field. > > So I thought > ... > filter fld 1 with "[*" > ... > would do the job, but that EMPTIES the field!? > Obviously this [ interferes with some REGEX mechanism of filter? > So what should I use now? > > Any hints very appreciated! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > kl...@major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode