I have a C# string object that contains the code of a generic method, preceded by some standard C-Style multi-line comments.
I figured I could use System.Text.RegularExpressions
to remove the comment block, but I can seem to be able to get it to work.
I tried:
code = Regex.Replace(code,@"/\*.*?\*/","");
Can I be pointed in the right direction?