I have the following pattern (used with re.DOTALL) and text
re.DOTALL
(?P20\\d{2}).*?(?PRMB\\d{1,3}(\\W\\d{3})*)