Help for this page

Select Code to Download


  1. or download this
    [ATCG]+  # one or more of any of A,T,C,G
             # followed by
    ...
    \.+      # one or more dots
             # followed by
    $        # the end of the string
    
  2. or download this
    perl -Mstrict -wE '
    my $str = "ATCGATCG...";
    ...
    '
    G
    7
    
  3. or download this
    perl -Mstrict -wE '
    my $str = "ATCGATCGA...";
    ...
    '
    A
    8