In Plupload we can limit the file types (say, archive file) by setting the filters
as shown below
// Specify what files to browse for
filters : [
{title : "Zip files", extensions : "zip,avi"}
],
I have list of files, (for example X.A1, Y.A2, Z.A3, ...) in which the extension can range from A1 to AN (where N is an integer).
What I would like is to filter all files that have an extension which starts with a A and are followed by a integer. Something like
filters : [
{title : "Start With A", extensions : "A\\d+"}
],
I cound try to use a filter as such
filters : [
{title : "Start With A", extensions : "A1,A2,A3,A4"}
],
but I don't know how many extensions we might have.
Is there a way to use regular expressions to filter the selected files?