s/^.*src=//g; s/'\+'//g; s/\.jpg.*//g; s/^"//g; print #publicdomain # HINT: use a filehandle to get the string into $_, it's devilishly tricky without it...