Help for this page

Select Code to Download


  1. or download this
    The input data looks kinda like this
    
    ...
    path/to/some/other/file
    path/to/SUBTSTRING/file #replace entire line if SUBSTRING is found
    path/to/file
    
  2. or download this
    
    sub scanForSubstringReplaceLine{
    ...
        return $replacedText;
    }