Hello,
I need to replace all comments in css file, e.g:
/ example of css file /
///////////////////////
So in other words everything between "/../" shoud be removed.
I will be appreciated for any help.
Hello,
I need to replace all comments in css file, e.g:
/ example of css file /
///////////////////////
So in other words everything between "/../" shoud be removed.
I will be appreciated for any help.
Ok, it's working: preg_replace("/\/*.*?*\//", "", $_return);
$string = "/* This is a CSS comment */";
eregi_replace("/\*.{0,}\*/","/* */",$string);