HOW TO? Multiple Filename Mask

When dragging and dropping a folder that contains images, videos and text files I want to create a mask that only imports images and videos so it can filter out the text files. I havn't been able to achieve this, does anyone know if it's possible? I've tried the following to no avail:

*.jpg*|*.mp4*
*.jpg*,*.mp4*
I figured it out. The program uses regex language so I needed to put a semicolon ; between the two file types:

*.jpg;*.mp4