OK, I know it's a recurring issue, however I can't seem to find one single working solution based solely on regex.
So, this is what I've come up with (actually basing it on the 'literal' description of multiline comments in the C# sharp grammar specification by ECMA).
\/\*(([^\*])+)|([\*]+(?!\/))[\*]+\/
However, as you can see it's not working...
Demo :
Any ideas? Is this even possible without doing all sorts of hacks? (Well, I mean other than the regex itself... lol)
P.S. If it is of any informational value, I'm currently developing a lexer/parser/interpreter using Lex/Bison/C/D and obviously multiline comments is a thing to be considered...
Here is the working regex for your provided sample from the regexr.com
\/\*+((([^\*])+)|([\*]+(?!\/)))[*]+\/
or:
\/\*.*?\*\/