RegularExpressionValidator for File Upload not working in Firefox, works fine in IE and Chrome

Filed in Uncategorized Leave a comment

I want to validate the file extension before uploading. To validate the file extention I was using below Expression


Above expression was not working in Firefox whereas works fine in IE and Chrome. After some Google searching I found below expression which works fine in above mention three browsers


Below is the link from where I found the expression