/ Published in: Ruby

Matches single line Javascript (and PHP, etc.) comments
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Regexp.new(/\/\/.*$/)
Comments
