Help for this page

Select Code to Download


  1. or download this
    example 11/12/2009
            1 and 2 is done
    
    output 11/12/2009
           one and two is done
    
  2. or download this
    sample AU: mark bautista 
    output should be AU: Mark Bautista
    
  3. or download this
    my $filename = "input.txt";
    open my $file, '<', $filename;
    @fileinput=<$file>;
    close($file);
    
    foreach $line(@fileinput) { my $Cword=($line); if($Cword=s/(^AU:\s[a-z
    +]\s\[a-z])/(^AU:\s[A-Z]\s[A-Z])/g) { print $Cword; }
    
  4. or download this
    foreach $line(@fileinput)
    {my $testdate=($line);
    if($testdate =~s/(\w{3})\s(\d{2})\,\s(\d{4})/$3\/$1\/$2/) { print $tes
    +tdate;