How do I write a regex to get rid of the "htm" at the end of this link?

Sunk In - BestPuppy.com

Using python. I cant figure this thing out.

Hello!

This should work: /\.htm$/