I want to strip the single line and multi line comments wrapped in /* */.
The following RegEx does exatly that, but strips the comments also and in the strings.
So an initial code of:
Processed through the above RegEx returns:
I've done a lot of testing with RegExs, but all was in vain. So was the search through Internet.
Is there any solution to the problem using RegEx?
Please, test before you post.