Demux

regex would definitely be nicer here, do you have a quick req on how to parse it better? My regex-foo is limited