Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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)*?...
bpy's user avatar
  • 299