Thanks for the analysis! Your examples only match with an additional (optional?) space in the expression before the reference. We'll compare with our own data.
'^(?P<date>\d{6})(?P<sign>[CD])(?P<amount>\d+,\d{2})N(?P<type>\w{2}) (?P<reference>\w{1,16})'
Thanks for the analysis! Your examples only match with an additional (optional?) space in the expression before the reference. We'll compare with our own data.
'^(?P<date> \d{6})( ?P<sign> [CD])(? P<amount> \d+,\d{ 2})N(?P< type>\w{ 2}) (?P<reference> \w{1,16} )'