I'm trying to validate that the file does not end in .doc
.
I want to disallow doc and docx files from being uploaded.
This ^.*(?<!doc|docx|DOC|DOCX).*$
seems to look right, explanation-wise, but it doesn't pass..
i.e. test.jpg should be allowed... test.doc should not..
etc