Or, you could read the FAQ.
perldoc -q comments
and the first hit is "How do I use a regular expression to strip C style comments from a file?"
In reply to Re: regular expression to delete comments
by thundergnat
in thread regular expression to delete comments
by Elico
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |