I'd write it as:
s/------ Yahoo[^\cb]*+//g; # Keeps the ^B s/------ Yahoo[^\cb]*+\cB//; # Removes the ^B as well.
In reply to Re^2: How do I delete from a delimiter to the end of a file?
by JavaFan
in thread How do I delete from a delimiter to the end of a file?
by wcw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |