Build, test, and debug regular expressions
Matches and removes multi-line console.log statements, including leading whitespace and trailing newlines. The pattern starts with optional spaces/tabs, captures the log call with any characters (including line breaks) up to the first closing parenthesis and semicolon, then consumes following newlines. Use case: cleaning debug logging from source code.