if ($query->param($key) =~ /([^\/\\]+)$/) { # is this removing spaces ?? #### next if ($key !~ /^filetoupload_(\d+)$/);