Help for this page

Select Code to Download


  1. or download this
    my $string = "<first><second>blahblah<third>\n";
    $string =~ s/<(.*)>//g;
    print $string;
    
  2. or download this
    $string =~ s/<[^>]*?>//g;