I just cant seem to learn regex - its not close enough to my main work and I seldom get back to this stuff regularly enough. Yet I do have to try and fix some issues from a menu change giving a lot of errors.
I feel a 301 redirect in htaccess is the right thing to do.

I am trying to get rid of old urls that finish with .html now site.com/page1/article304.html needs to become site.com/page1/article304

I have looked around but not found anything similar enough so I was wondering if I could get a direct solution here. Thanks for those with the knowledge who like to share.