regular expressions in the find winsdow. Find in Files, click for Regular expressions on, in the search term abc and not xyz. The regular expression syntax in that window is not the same as e.g. in perl, and that is why deliberately I don't type the characters, cos I'll have it wrong. But abc&&!xyz should be close, follow the help from control shift f.