my $example=<<EO_STR;
Start
text1
text2
text3 Text4
Text5 text6
text7
End
EO_STR
on the following exemple. I want to extract all the text between Start and End(knowing that the text text extract contains spaces and new line and return charriot)
I tried this, but it does not work:
$example=~m/start\s+(.*?)\s+end/i