Build, test, and debug regular expressions
This regex matches timestamps in the format YYYY-MM-DD HH:MM:SS.mmm, capturing year, month, day, hour, minute, second, and milliseconds into separate groups. It is commonly used for parsing log files or extracting date-time components from structured text. Note that the dot before milliseconds is unescaped, so it matches any character rather than a literal dot.