Can anyone get me with the regular expression to strip multiline comments and single line comments in a file?
eg:
\" WHOLE
This is a FAQ:
perldoc -q comment
Found in perlfaq6:
How do I use a regular expression to strip C style comments from a file? While this actually can be done, it's much harder than you'd think. For example, this one-liner ...
How do I use a regular expression to strip C style comments from a file?
While this actually can be done, it's much harder than you'd think. For example, this one-liner ...