Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
\<\!--[\s\r\n-]*[\w\r\n-\W]*?[\s\r\n-]*--\>
/
gm

Description

HTML注释

Submitted by anonymous - 3 years ago