Build, test, and debug regular expressions
This regular expression matches date and time strings in a `YYYY-MM-DD HH:mm:ss` format. It effectively captures year, month, day, hour, minute, and second into distinct groups, allowing months and days with or without a leading zero. It is highly useful for parsing and validating standard 24-hour timestamps in log files or databases.