REGEX: Cleaning up sourcecode

remove comment lines
[\s\t]+//.+

remove multi-comment
\/\*([\s\S]*?)\*\/

remove empty lines
^\s*[\r\n]+

No comments:

Post a Comment