Regex Reverse String Match

Off-topic posts of interest to the "Everything" community.
Post Reply
Debugger
Posts: 540
Joined: Thu Jan 26, 2017 11:56 am

Regex Reverse String Match

Post by Debugger » Tue Mar 24, 2020 4:05 pm

What regular expression to return every string except this expression: /([^/]+)/([^/]+)/(\d+[-/]\d+)

void
Site Admin
Posts: 5245
Joined: Fri Oct 16, 2009 11:31 pm

Re: Regex Reverse String Match

Post by void » Wed Mar 25, 2020 6:13 am

In Everything, use the NOT operator before the regex: modifier:

!regex:/([^/]+)/([^/]+)/(\d+[-/]\d+)

Please make sure regex is disabled from the Search menu.

Post Reply