Excluding REGex Expression

4 posts / 0 new
Last post
Woody
Woody's picture

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

Sheldon
Hi,

Hi,

please try

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

respectively

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

Kind regards,

Sheldon

Woody
Woody's picture
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

Sheldon
Unfortunately there is no

Unfortunately there is no such regex.