Validating filename of file field uploads

Hi, I was wondering if it is currently possible to validate the filenames of images/files uploaded in the admin?

For example: a regex pattern to reject file uploads with filenames that have spaces or capital letters.
I know you can add patterns for text fields etc but I can’t work out how to validate the filename specifically.

Alternatively, is there a setting (or a plugin) which automatically converts the file name to lowercase + hyphenize on upload?