anfnf11 iopi1p83288 9032-jjjf #### i have a link and the second link. #### this is a link and the second link #### # @markers already holds each marker in each array spot #$htmlfile already has the text of my html file foreach my $m (@markers){ $htmlfile =~ s/\G]+)"?>//gi; } #### # @markers already holds each marker in each array spot #$htmlfile already has the text of my html file my $count = 0; while ($htmlfile =~ m/]+)"?>/gi){ $htmlfile =~ s/$1/$1$markers[$count]/; $count ++; }