Test, validate and match regular expressions
This regex matches a standard Apache/Nginx combined log entry, capturing the remote host, identity, user, timestamp, request line, HTTP status code, and response size. It is commonly used for parsing web server access logs to extract structured fields for analytics, monitoring, or anomaly detection. The pattern robustly handles the bracket-enclosed timestamp and optional protocol version.