Help for this page

Select Code to Download


  1. or download this
    $text =~ s/<SCRIPT[^>]>     # the opening <SCRIPT...> tag
               .*?              # as few chars as possible until...
    ...
    
    # uncommented version
    $text =~ s/<SCRIPT[^>]>.*?(?:</SCRIPT>|$)//gis;
    
  2. or download this
    # imagine the following are two consecutive posts on a bulletin board
    
    ...
    */
    </SCRIPT>
    _END_