Regex for invalid date formats
Thread poster: Sakkko

Nov 28, 2017

I've been trying to build a regex that allows me to verify if there's any invalid date formats on my translation - so far, after knudging a bunch of sphagetti code together, I have what it looks like something that checks if the date format is CORRECT. I want the opposite.
Here's my regex :


I'm completely lost right now in the midst of this mess. How can I make it so that it is easy for me to search for invalid date formats in my document? Should I just leave it this way and basically see if it detects all dates on my file (if there's any missing, it means they're in a wrong format) ?

Any help is greatly appreciated!


Nora Diaz  Identity Verified
Local time: 21:30
Member (2002)
English to Spanish
+ ...
What is the correct format? Nov 28, 2017

Hi Sakko,

That's a long expression! What is the correct date format you need?


To report site rules violations or get help, contact a site moderator:

You can also contact site staff by submitting a support request »

Regex for invalid date formats

Advanced search

PerfectIt consistency checker
Faster Checking, Greater Accuracy

PerfectIt helps deliver error-free documents. It improves consistency, ensures quality and helps to enforce style guides. It’s a powerful tool for pro users, and comes with the assurance of a 30-day money back guarantee.

More info »
WordFinder Unlimited
For clarity and excellence

WordFinder is the leading dictionary service that gives you the words you want anywhere, anytime. Access 260+ dictionaries from the world's leading dictionary publishers in virtually any device. Find the right word anywhere, anytime - online or offline.

More info »

  • All of
  • Term search
  • Jobs
  • Forums
  • Multiple search