Magento2: How to remove .html from product url of category


I need to remove .html from product url
Eg:
Product url https://www.test.com/category.html/product.html to https://www.test.com/category/product.html

Thanks