Help for this page

Select Code to Download


  1. or download this
    my $phrase = "This is a test, \"using quotes of 'two different' types.
    +\"";
    $phrase =~ s/[\S*\W*]//g;
    print $phrase;
    
  2. or download this
    my $phrase = "This is a test, \"using quotes of 'two different' types.
    +\"";
    $phrase =~ s/[^\s*\w*]//g;
    print $phrase;