Help for this page

Select Code to Download


  1. or download this
    m/(a|b)+/  # match any sequence of  "a" and "b" characters
                 # in any order.
    
  2. or download this
    ###full Code
    #!/usr/local/bin/perl -w 
    ...
    
    while (<>) {
        print if  m/(p|e|r|l)+/;