Build, test, and debug regular expressions
This regex matches both block comments (/* ... */) and line comments (// ...) in code, using non-greedy matching to stop at the first closing delimiter or newline. It is useful for stripping comments from source files, preprocessors, or code analysis tools, and works with the 'gm' flags for global and multiline matching.