Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
      print " $2" while /(?=(?:^|(.)(?!\1))(([a-z])\3)(?!\3))/gi;
      print "\n";
      }
    
  2. or download this
                       a -->
                      aa --> aa
    ...
       deefffgggghhiiiii --> ee hh
              aabbbccdee --> aa cc ee
                wwxxyyzz --> ww xx yy zz