How to check string is valid date or not irrespective of pattern/format?
I have tried Date.parse(), Date() and many other solution but no proper solution yet without checking it's pattern using regex(or external package like moment.js) first.
Attaching screenshot of sample which should be invalid date