Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
\s*(<!--[\s\S]+?-->)
/
gm

Description

With that you can remove all comentaries from html code

Submitted by anonymous - 5 years ago