Help for this page

Select Code to Download


  1. or download this
    my $str = qq|"this is one" and "anot""her one" is "" right "her"e|;
    
    my @stuff = map { /([^"]+)"$/ } $str =~ /"([^"]*"|[^\s"]+)/g;
    
    print join("\n", @stuff), "\n";
    
  2. or download this
    this is one"
    anot"
    her one"
    "
    her"
    
  3. or download this
    this is one
    anot
    her one
    her