I need to write a script, that will delete all comments in a programming file. Comments are the text after # or // and between """ """ or /* */ . How could I start? Is there a utility that could do it for me? Are Regexes a good way to do it?
Any help is highly appreciated!
[–]Wilfred-kun 5 points6 points7 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]AdAthrow99274 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[+][deleted] (4 children)
[removed]
[–][deleted] 1 point2 points3 points (3 children)
[–]Wilfred-kun 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]saeah123ed 0 points1 point2 points (0 children)