Pro Tools has a function to Export Audio Regions as Files, but there is no MIDI equivalent. The workaround is very time consuming.
Please add "Export MIDI Regions as Files"
EDIT: I'm aware that you can Export the track as one MIDI file -- Export Audio Regions as Files lets you export all separated regions on a track or in the Region List as separate Audio files. There is no MIDI equivalent.