For multiline comments you want '.' to match "\n",
do this with a s///sg
But as the faq answer says, this isn't enough.
In reply to Re: removing C style comments from text files
by bsb
in thread removing C style comments from text files
by ctp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |