Edit > Crop

Crop will remove everything but the selected text.