Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(^[^\n\r\w\W]*\/\/.*$)|(\/\/.*$)
/
gm

Description

单行注释

Submitted by anonymous - 3 years ago