Regular Expressions 101

Community Patterns

Remove /* comments */ from CSS

-2

Regular Expression
PCRE (PHP <7.3)

/
\s*(?:\/\*).*?(?:\*\/)
/
sg

Description

no description available

Submitted by JerseyMilker - 10 years ago