Jump to content

not(Last day of the month)


Mchl

Recommended Posts

This is a bit shorter:

^[0-9]*?(??:[13579][26]|(?(?<=^)[02468]?|[02468])[048])00|(?:[13579][26]|(?:[2468][048]|[02468][48]|(?<=^)[048])))$

 

Now I'm trying to get the >= 1582 into it.

 

Edit: Okay... I can't be bothered to do that right now. I was thinking about either making something that matches numbers less than and then put it on the back with a negative lookbehind or creating one that matches greater than or equal with a positive lookbehind.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.