C
Chris Kennedy
Does anyone know a regular expression that will validate the file extension
but also allow multiple file extensions if necessary. It also needs to be
case insensitive. Basically, what I want is to validate a file input box to
check if the extension is the correct type, i.e. .doc for a Word Document
etc. Also I would like to check multiple file types, for instance allow a
gif or a jpeg or a jpg.
Regards, Chris.
but also allow multiple file extensions if necessary. It also needs to be
case insensitive. Basically, what I want is to validate a file input box to
check if the extension is the correct type, i.e. .doc for a Word Document
etc. Also I would like to check multiple file types, for instance allow a
gif or a jpeg or a jpg.
Regards, Chris.