There is a problem because they can be of any length, like in HTML, and can comment out multiple lines. Also, it's hard to match something like **/ The above C style comments are matched with /\*([^*]|\*+[^/*])*\*+/ But how would I make it work for anything? Thanks$var1="/*" and $var2="*/".
In reply to matching comments by Eugene
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |