Author Topic: Reg-Ex for RSS Filters  (Read 3390 times)

Offline therealjoeblow

  • Contributor
  • ***
  • Posts: 84
Reg-Ex for RSS Filters
« on: May 05, 2021, 01:27:47 AM »

There are a lot of TV shows that are posted 2x, once with the following format:

Code: [Select]
...and another of the exact same episode but with the title in the subject line:

Code: [Select]
I'm using a filter of the following format to grab these:

Code: [Select]
Show*S01*1080p*264* | A
Problem is obviously that this is grabbing all of the duplicates unnecessarily.  I can't seem to think of a simple way to grab only one or the other.  However, with Reg-Ex filtering it would be very easy to only grab the ones without the title in them as follows:

Code: [Select]
Show*S01([0-9]{1,2}).1080p*264* | A
That will get every occurrence of Show.S01E01.1080p.DD5.1.x264 while ignoring anything that has any text of any kind between the Episode Number and 1080p.

Is it possible to add Reg-Ex filtering to the search logic?

Many thanks for the consideration!

Offline Rdl

  • Administrator
  • *****
  • Posts: 3969
Re: Reg-Ex for RSS Filters
« Reply #1 on: May 22, 2024, 09:47:52 PM »
Whatever.2024.S01E[0-9][0-9]*DV* | A
is a valid filter