in reply to how do i get the 2nd line when the 1st is matched
my $match = 0; while(<INPUT>){ if($match){ print; $match = 0; } if(/<option value="PDAConfig3\.asp/i>{ $match = 1; } } [download]