Do you know where your variables are? | |
PerlMonks |
Re: Regex to strip commentsby kcott (Archbishop) |
on Oct 01, 2012 at 00:39 UTC ( [id://996562]=note: print w/replies, xml ) | Need Help?? |
"This has probably been asked and answered a thousand times over already, but I have not found a working solution." There are tools available to do this. They're called search engines! I searched for: Perl regex to strip C comments. The first result provided the answer. Try this yourself - the practice will do you good. -- Ken
In Section
Seekers of Perl Wisdom
|
|