if ($response =~/"uri" : "(.*?)"/){ print($1."\n"); }else{ print("Fetch failed\n"); }