Regular Expressions 101

Library entries

SQL Comment

Vote

-2

Regular Expression
javascript

/
(--.*$|\/\*[\s\S]*?\*\/)
/
gm

Description

Loading markdown...
Submitted by anonymous - 6 years ago