REGULAR expressions for experts, and the eternal struggle of searching for something precisely!

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Debugger
Posts: 719
Joined: Thu Jan 26, 2017 11:56 am

REGULAR expressions for experts, and the eternal struggle of searching for something precisely!

Post by Debugger »

Super complicated regular expression and I can never find anything.
Do you understand the frustrations of regexes?! Sometimes their syntax and behavior can be really hard to master, especially in more complicated cases. While regexes can be a very powerful tool, using them can be a challenge when you have to take into account a lot of different conditions.

There is no idea about including folders in searches: indeed, many regex tools require you to use quite complicated syntax to filter paths or exclude folders. Unfortunately, not every application allows you to easily manage these conditions via the GUI without having to reach for the regex.
Example:
regex:"^(J:|K:)\\WinX\\(?!One - Apologize \(DElectro Remix 2024\) #dj2024\\)[^\\]+ - 200\.mp4$" size:>=30MB size:<=340MB

Not work:

.......... #dj2024 (1080p_25fps_H264-128kbit_AAC) - 200.mp4

Działa, ale nie z dalszą częścią wykluczania wykluczania folderów z Unicode:
Works, but not with the further part of the Unicode folder exclusion:

regex:"^(J:|K:)\\WinX\\.*?[-\s][^0-9]010\.mp4$"
regex:"^(J:|K:)\\WinX\\.*?[-\s](?:0[1-9]0|1[0-9]0|200)\.mp4$"
Post Reply