Export segment only, not entire trac

Is it possible to export just a single segment or multiple segments from a track but not the entire track as a .gpx file?