All Questions
1 question
0
votes
1
answer
191
views
RegExp to EXCLUDE strip HTML (FOR SOMME) comments
I'm using this function to remove HTML comments from my code to save loading time:
// Remove unwanted HTML comments
function remove_html_comments($content = '') {
return preg_replace('/<!--(.|\s)*?...