RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Filter HTML Comments
Expression
<!--[\d\D]*?-->
Description
Removes HTML comments with ease. Based off of Chris Craft's /* ... */ comment removal.
Matches
&lt;!--testcomment-->, &lt;!-- Another test comment -->, &lt;!-- &lt;img src="test.jpg"> -->
Non-Matches
&lt;b>, &lt;a href="test.html">...&lt;/a>, &lt;br>
Author Rating: The rating for this expression. Matt Workman
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials