@apmmh: replaced = re.sub(