Created
October 3, 2019 15:22
-
-
Save fivedoor-gists/839f82d6bb098d3abe543fdcdd10d588 to your computer and use it in GitHub Desktop.
email-remove_comments-regex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(?s)<!--(?!<!)[^\[>].*?--> | |
Not including conditional comments | |
https://stackoverflow.com/questions/1084741/regexp-to-strip-html-comments/29194283 | |
https://www.jamesfawcett.co.uk/removing-comments-code-sublime-text/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment