Documentation

Configuration / delete.exclude_file_pattern

This option can be used to exclude all file names matching the specified regexp pattern.

$moxieManagerConfig['delete.exclude_file_pattern'] = "/^notthis$|^notthat$/i";
<add key="delete.exclude_file_pattern" value="/^notthis$|^notthat$/i" />