deluge question

deluge question

Hello,

I want to delete all records in a report containing a given string in a Lookup field every Sunday. I can't get the script working.
I've tried multiple ways, without success. Could somebody help?

Custom Schedules => Deluge =>
delete from <FORM> [<Name Lookupfield>.contains("<string>")];

Thanks in advance