Help for this page

Select Code to Download


  1. or download this
    my $text = "Test of \"this first quote.\" Second quote \"ignored.\"";
    $text =~ s/\"(.*?)\"/\"that\"/;
    
  2. or download this
    my $text = 'Test of "this first quote." Second quote "ignored."';
    $text =~ s/"(.*?)"/"that"/;