Use regex when replacing .md with .html.