Regular expressions content filtering html comments

Original: regular expression to filter content html comments

?
1
Regex.Replace( "<!--(.|[\r\n])*?-->" , string .Empty)

  

Guess you like

Origin www.cnblogs.com/lonelyxmas/p/12339783.html