Build, test, and debug regular expressions
This regular expression captures the timestamp, log level, and logger name from a typical application log entry. It expects a timestamp formatted as `[YYYY-MM-DD HH:MM:SS,mmm]`, followed by a log level such as DEBUG, INFO, or ERROR. Finally, it matches an optional logger identifier enclosed in square brackets. This is highly useful for parsing structured logs generated by frameworks like Log4j or Python's logging module.