Regular Expressions 101

Community Patterns

css all comments

1

Regular Expression
PCRE (PHP <7.3)

/
(\/\*\s*)(?'comment'.*?)(\s*\*\/)
/
g

Description

no description available

Submitted by Mitus M. - 10 years ago