I have a website, however paths end with .html or .php. I would like a .htaccess solution to removing them. This is my current .htaccess:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

I've toyed around with them, however the only time I managed to remove .html, I couldn't remove .php.