Regex file name match issue

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Temptech
Posts: 2
Joined: Sat Jul 05, 2025 1:05 am

Regex file name match issue

Post by Temptech »

When I search for rar or zip format files with the word "AHK" using regular expressions, it doesn't seem to work. Is my expression written incorrectly? Or does the software itself not support this writing style?
Here is my regular expression, which seems unable to search for file names from multiple specified extensions. Can someone help me fix it?

regex:.*AHK.*\.(rar|zip)$
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: Regex file name match issue

Post by void »

If you are using Everything 1.4, please escape the | with double quotes (")

For example:

regex:".*AHK.*\.(rar|zip)$"



| = OR in Everything.
"" = escape Everything operators
Temptech
Posts: 2
Joined: Sat Jul 05, 2025 1:05 am

Re: Regex file name match issue

Post by Temptech »

Thank you very much, it works.
Post Reply