in reply to How do I delete from a delimiter to the end of a file?
$file =~ s/------ Yahoo.*?(?=\cB)//sg;
Update: Added "s" modifier.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do I delete from a delimiter to the end of a file?
by JavaFan (Canon) on Aug 25, 2008 at 12:51 UTC | |
by ikegami (Patriarch) on Aug 25, 2008 at 20:34 UTC | |
by JavaFan (Canon) on Aug 26, 2008 at 06:41 UTC |