ABM Data Systems interview question

Taking the following EDIFACT message text, write some code to parse out X