Excluding directories from a search

Is it possible to exclude directories from a search of a large selection?? I.E. I want to find all file extensions of .abc in "my documents" but do not want it to search sub directory "acne".

Yes: How to filter items by location or sub-folder.