ok so i am trying to find any href that has a css file in it and append a template directory to the beginning while keeping intact this is what i have to begin with
preg_replace('/href=(?:")[^A-Za-z0-9].css/', 'href="'.$dir.$template.'/[^A-Za-z0-9].css', $content);
i dont think that i am doing this right cause its not working.
All help would be appreciated.
thanks in advance