Search with regex

Started by sinus, September 26, 2019, 10:03:56 AM

Previous topic - Next topic

sinus

Hi
I have read the IMatch-help (https://www.photools.com/help/imatch/#rmh_regexp.htm#escape) and found this:

\.(doc|xls|ppt) This regex finds standard Office documents

I tried this in the RegExp-Tester and there it works.

Then I tried the app "File Finder", putted in the same (search in entire DB) and it found almost all files, also .jpg and .nef and so on, what is wrong.

This was a start point from me and I did not find a solution.

My final goal seems to me simple:
I try to find documents like the followings:

test_e.ppt
apple_e.xls
wine_e.ppt
horse_e.docx


What I want to achieve is simply:
Find all files what ends with _e at the end, means just before the extension.

I tried e.g. (with the file Finder):
"_e."

But this finds also files like
5_Editorial.pdf
what the _e is not at the end.

Do someone knows, how I could find all documents, what ends with _e at the very end, before the extension?

Best wishes from Switzerland! :-)
Markus

Mario

File Window Search Bar. Select the database node and search for

_e\.

Find all files with text _e.

Don't forget to enable the regular expression option in the Search Bar Drop down.
The same works also in the special File Finder app.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

sinus

Ah, thanks a lot, Mario!

Cool, that works indeed for both searches. And as usual: very quickly.

Problem solved.  :)
Best wishes from Switzerland! :-)
Markus