Regular Expressions 101

Removes comments from css files

Open Workspace
  • PCRE (Legacy)
  • Match
0

Regular Expression

/
\/\*[\s\S]*?\*\/
/
g

Description

This regexp removes comments from css (text/css) files (multiline)

Submitted by Ray (alrays@yandex.ru)