Regular Expressions 101

Community Patterns

123...6

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