my $tagl = $resp->decoded_content; if($tagl =~ /
(.*?)<\/div>/ism) { say "inside"; my $grp = $1; say $grp; }