Using regex to convert absolute image links to relative, to use local folders