Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(?=<!--)([\s\S]*?)-->
/
gmi

Description

Find the Comment text in html to remove from html

Submitted by anonymous - 4 years ago