in reply to regex to match one nasty javascript line
Get rid of '+' first, not last.
$js =~ s/'\+'//g; my ($url) = $js =~ m{(http://images\.site\.com/images/full/\d+/\d+/\d+ +\.jpg)}; [download]