$line =~ /Id="(.*?)".*?>(.*?)</) my $Rkey_id = $1; my $Rkey_val = $2; [download]
In reply to Regular Expression by Sun751