Help for this page

Select Code to Download


  1. or download this
    $html = '<!--% xxxx UNO xxxx %-->   <!--% xxxx DOS xxxx %-->';
    $html =~ s/(<!--.*?-->\s*)<!--%(.*?) DOS (.*?)%-->/$1GONE/s;
    print $html;
    
  2. or download this
    $html = '<!--% xxxx UNO xxxx %-->   <!--% xxxx DOS xxxx %-->';
    $html =~ s/-->\s*<!--%(.*?) DOS (.*?)%-->/--> GONE/s;
    print $html;