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: 16:15
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

Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for users! Save over 13% when purchasing Wordfast Pro through Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

More info »
SDL MultiTerm 2017
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2017 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2017 you can automatically create term lists from your existing documentation to save time.

More info »

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