Hi,
This one looks good to me,
RewriteEngine on
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R,L]
this part can be removed,
### Forcing HTTPS rule start
RewriteEngine On
RewriteCond %{HTTPS}...