Help for this page

Select Code to Download


  1. or download this
    @d = “CCATGNNNTAACCNNATGNNTAGCC”;
    
  2. or download this
    my $string ="@d";
    
  3. or download this
    #!/usr/bin/perl -w
    my $string = "CCATGNNNTAACCNNATGNNTAGCC";
    while($string =~ /[AG]TG.*?[AG][AG]/g) {
      print "matched at ", pos($string) - length($&), ": ", $&, "\n";
    }