Test, validate and match regular expressions
This regex matches both single-line (`//`) and multi-line (`/* */`) comments in C-style programming languages. It handles block comments including Javadoc-style (`/** */`) and accounts for various edge cases with asterisks and line breaks within comments. Useful for parsing, stripping, or extracting comments from source code in languages like JavaScript, C, C++, Java, and similar syntaxes.