I would like to strip HTML comments in Notepad++ and leave only code in an html file. How do I go about this? I can use regular expression search/replace.
2 Answers
After searching I couldn't find a simple solution , but then i created one that i would like to share.
in Select "Regular Expression" - Replace With field empty like this

and that's it!. You need to carefully and inspect before and after so, not to loose actual code.I did not loose any code.
i hope it helps
1 Comment
Nir Alfasi
+1 you know that you can embed screenshots in your answer right? ;)