Hi Mark, matchText works fine. That doesn’t explain why “filter” doesn’t work though. Thanks! Rick > On Mar 12, 2022, at 2:05 PM, Mark Wieder via use-livecode <use-livecode at lists.runrev.com> wrote: > > Try matchtext rather than filter: > > local tTextt, tFound? > put matchtext(tLargeTextString, ".*THIS(.*)FIND.*", tText) into tFound?