Help for this page

Select Code to Download


  1. or download this
    perl -pe"s/-\w{2,}/ /g" infile > outfile
    
  2. or download this
    perl -i.bak -pe"s/-\w{2,}/ /g" file
    
  3. or download this
    while (<$fh_in>) {
       s/-\w{2,}/ /g;
       print $fh_out $_;
    }