Help for this page

Select Code to Download


  1. or download this
    $string =~ s/find /replace/g;
    $string =~ s/find /replace/gs;
    
  2. or download this
    open (FIN, "$inputfile") || die("Cannot read the input file");
    local $/;
    ...
    #and
    
    $string =~ s/find /replace/gs;