Remove web on the URL via htaccess


I’m new on bedrock but installed, developed and deployed many sites.
My problem is that my projects contain all some folder names unused on the website path like “/web/”. I want to remove the unused folders characters on the page url.

For example, I want to suppress “projects/projectName/web/” on the following url : via htaccess.
Could you please tell me how I can do that ?

Thank you in advance.