in reply to Regex to strip comments
"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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regex to strip comments
by zuma53 (Beadle) on Oct 01, 2012 at 02:20 UTC | |
by kcott (Archbishop) on Oct 01, 2012 at 21:39 UTC |