SOC-3032 | Activity Composer-File Selector. Change order of regular expression to fix js bug.