Hi,
I'm pretty sure this is some stupid mistake from me but i haven't been able to debug where the error in this lies.
I'm trying to change image paths in html file with this regexp. It should work, but preg_replace is just returning null time after time.
preg_replace("(src=){1}([\"']){1}(.*)([\/]+)(.*[\"']{1})", '/my/path'.$5 , $source);
anyone care to lend a hand please?