This is called a Top Sash Guide. See the video below that details how to remove them. You can then compare what you have to our selection here.