/ Published in: Regular Expression
It removes all standard C-style comments(/* 1-n */) and all single line comments("//"). Greedy matching.
Expand |
Embed | Plain Text
(/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+/)|(//.*)
You need to login to post a comment.
