Build, test, and debug regular expressions
This regex uses the OR operator to match lines containing either "night " or "Total", capturing the remaining text on the line in group 1 or group 2 respectively. It is case-insensitive and processes the input across multiple lines. It is useful for extracting summaries or log entries associated with these specific keywords.