while (<MYFILE> ) { $content .= $_ if /start-string/ .. /end-string/ } [download]
In reply to Re: Deleting everything before a string by fundflow in thread Deleting everything before a string by Anonymous Monk