I have a text file that looks like
and I want to remove everything after the forward slash such that in the end the text file will look like
I am currently learning perl and I think regular expressions are going to be a trouble for awhile but I thought about using
but that removes everything after the "." and I want to keep the ".1". I appreciate any help.