Excluding REGex Expression

4 posts / 0 new
Last post

Hello,
I am trying to create a negative or excluding REGex expression, but I seem to be having some difficulty.
Here are two example

S##E##
^((?!S[09][09]E[09][09]])*$)

S##[space]
^((?!S[09][09]\s)*$)

Any help would be appreciated
Cordially,
Wøødy

Hi,

Hi,

please try

^(?:(?!S[0-9][0-9]E[0-9][0-9]).)*$

respectively

^(?:(?!S[0-9][0-9]\s).)*$

Kind regards,

Sheldon

GREAT!

GREAT!
That works Sheldon, thank you very much.

I no my next ask is going out there a bit, but is there a REGex that would filter out News items that already have a Label?
Cordially,
Wøødy

Unfortunately there is no

Unfortunately there is no such regex.