Build, test, and debug regular expressions
Matches C-style block comments (/* ... */) and single-line comments (// ...) in source code, commonly used to strip comments from JavaScript. The non-greedy .*? ensures each block comment ends at the first closing */ encountered, while the global flag finds all occurrences throughout the input. Useful for code minification, preprocessing, or sanitization, though it may incorrectly match comment syntax inside string literals.