in reply to unlink with regex?

The syntax for <...> glob expressions is "shell wildcard" (not a Perl regex), i.e. your .* probably should be * — unless you want to match the dot literally.  Also, you probably don't want the quotes.