use os.remove with wildcards?

Hello,

I am trying to delete all files from the documents directory which contain a certain string in the filename. So far I didn’t find a solution.
Is there are way to use os.remove with wildcards?

I already tried to use the coronaSystemDirectoryFileNames module to list all files and delete them one by one but it gives me errors when using it on my iPad.

Thanks,
Patrick. [import]uid: 4589 topic_id: 5015 reply_id: 305015[/import]