Function clearCommentTokens
Remove comment tokens
string clearCommentTokens
(
string text
);
Example
clearCommentTokens should remove comment tokens
clearCommentTokens("// text") .should .equal("text");
clearCommentTokens("///// text") .should .equal("text");
clearCommentTokens("/+++ text") .should .equal("text");
clearCommentTokens("/*** text") .should .equal("text");
clearCommentTokens("/*** text ***/") .should .equal("text");
clearCommentTokens("/+++ text +++/") .should .equal("text");