How To's

How to remove HTML comments in VS Code without extension

Try this regex

(?=<!--)([\s\S]*?)-->

At times we push the wrong update to the repository. In spite of fixing the issue at a later stage, we just hope that we never have pushed the wrong code. We have a workaround for this. Click here to know How to delete all commit records from Github without deleting the source

 

Share this article

2 thoughts on “How to remove HTML comments in VS Code without extension

Leave a Reply

Your email address will not be published. Required fields are marked *