Regular Expressions 101

Community Patterns

Sustitution of comments (one line) //

0

Regular Expression
ECMAScript (JavaScript)

/
(^|\s*)(!?\/\/)[^\n]+\s*
/
g

Description

Loading markdown...
Submitted by hzvvictor: https://github.com/hzvvictor - 8 months ago
(Last modified 8 months ago)