Using php preg_replace to replace url with ../ -


i need replace css : ex: background: url('../image/abc.png');

can using regular expressions replace

background: url('view/theme/image/abc.png'); 

replace "url('../image/abc.png')" url('view/theme/image/abc.png');

thank !!


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -