Test, validate and match regular expressions
This regex matches European-format dates (DD.MM.YYYY) with optional time (HH:MM), Microsoft SQL Server timestamp escape sequences ({ts 'YYYY-MM-DD HH:MM:SS'}), or an empty string. It is useful for validating date inputs in applications that need to support both standard European date notation and SQL timestamp literals, such as data import/export or form validation.