Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    while (<>) {
        /\bit (.*)[.?!]$/i and print $1,$/;
    }
    
  2. or download this
       perl test.pl test.dat
    
  3. or download this
    It starts with foo.  Then it goes to bar. That's it.
    This next line contains nothing that matches.