how to upload aa.min.js but exclude aa.js

i have a folder with aa.min.js and aa.js,i wanna deploy this folder to product server.aa.min.js is ok,but i dont wanna upload the source js file aa.js to the produt server.

i have try phpstorm deployment option exclude items by name with pattern:
     *[^min].js     (i google it)
but it has some problem,for example ,it can't exclude some file like aa.n.js.

i change this pattern follow the regex rule ,but it didn't the question is:

     how to write the pattern correctly?
     is the pattern is a regex pattern?
     if it is?which languag it is ?php? c#? java?

and any other method  fix my problem?

thx anybody's help

Please sign in to leave a comment.