Test, validate and match regular expressions
This regular expression validates a date and time string specifically in a Year-Month-Day Hour:Minute format. It supports two or four-digit years (e.g., 99 or 2023), numeric months (1-12), and days (1-31), separated by either a dot, forward slash, or hyphen. Following a whitespace character, it enforces a 24-hour time format ranging from 00:00 to 23:59. It is particularly useful for validating user input in forms where datetime precision is required.