^([\ |\t]*)([\#|\-\-|\/\/]+.*)
RegEx to Find single line comments
Searches for comments using pound sign, double hyphen or double forward slash as identifiers
Snippet Viewed 1861 times.
Share your RegEx code snippets:
- Get some recognition & link back to your site.
Related Articles