remove css with regex code example
Example: regex remove css comment
\/\*.+?\*\/
use the above expression to remove /* CSS comments */
<!--(.*?)-->
use the above expression to remove <!-- HTML comment -->
((?:\/\*(?:[^*]|(?:\*+[^*\/]))*\*+\/)|(?:\/\/.*))
this one is a general expression to remove also //JS comment + /* CSS comment */