first get to the bit of the replay you want to start the edit from. So pause it before that point, then hold shift and tap P until your at the exact point you want to edit. Then press E. It'll delete everything after that point, so make sure you press E at the right part.