in reply to regular expression to delete comments

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?"

Replies are listed 'Best First'.
Re^2: regular expression to delete comments
by Elico (Initiate) on Jun 15, 2005 at 22:31 UTC
    Thank you it was very helpful