$a = 'This is an anchor and these are another couple.'; (@a) = $a =~ m#(<.*?>)#gsi; local $"=""; $a =~ s#(<.*?>)##gsi; print "@a".$a;