Help for this page

Select Code to Download


  1. or download this
    my $string = "
    start:
    ...
    if ($string =~/(start: real)((.|\n)*(?!start: )(.|\n)*)*(end: real)/){
        print "$&";
        }
    
  2. or download this
    start: real
    desired
    string
    
    
    end: real