Each line in my file has a character ;
followed by information that I want to delete. What is the best way to do it?
Example:
I like phat beatsies; but Mark does not like them
I also like dogsies; irrelavant information
should become
I like phat beatsies
I also like dogsies