A while back I made a mistake writing my urls and Google has them cached in old sitemaps. This is creating a ton of 404 errors in WMT that I need to clean up with a solid rewrite. I currently use the map module and rewrite each product individually.
The mistake being in bold here: http://domain/productnamehtml/
The error here is I initially forgot the . before html and had an / at the end.
How can I rewrite the url to be
http://domain/productname.html for every url that looks like