no, but it shouldn't be too hard should
**totally untested**
<?php
function RecursiveUnlink($dir,$regEx='200_')
{
if(!$dh = @opendir($dir))
{
return;
}
while (false !== ($obj = readdir($dh)))
{
if($obj == '.' || $obj == '..')
{
continue;
}elseif(preg_match('/^'.$regEx.'*?\.jpg$/i', $obj))
{
unlink($obj);
}
}
closedir($dh);
return;
}
?>