strip html code example
Example 1: htaccess remove .html
#remove html file extension-e.g. https://example.com/file.html will become https://example.com/file
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html [NC,L]
Example 2: resgion html
<!--#region main -->
<div></div>
<!--#endregion -->