Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

As the title suggests, I can search like so:

filename:{asf asx avi divx flv m4v mkv mov mp4 mpeg mpg ogm wmv}



But I want to search on filename with regex. Something like:


To find a file named example.xlsx.

Any ideas?

share|improve this question
Gmail's search does not support RegEx, but this method may work for you. (disclaimer: I have not tried it.) –  phantom42 Dec 2 '13 at 20:26
It doesn't look like you can use wildcards, but filename:example should work. In my tests, filename:string worked in finding attachments with the word "string" in the filename. –  Al E. Dec 2 '13 at 21:18
@AlEverett but filename:strin, which is what the OP is looking for, doesn’t work. Not in my tests anyway. –  Alex Dec 3 '13 at 8:02
@Alex: It works, admittedly, in a narrow set of circumstances. Unfortunately, that's all we've got right now. –  Al E. Dec 3 '13 at 14:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.