Hi everybody. You guys were great yesterday so I am back for more.
Anyway, can somebody help me out with this one. I am trying to grab multiple lines of info from something like this:
What I want to end up with is the first two paragraphs but not the third???
I have tried the following regex:
But everything I try either prints everything in the input file or only the third paragraph....
Thanks in advance.
Jaquemon
Anyway, can somebody help me out with this one. I am trying to grab multiple lines of info from something like this:
Code:
11111111.START_fhsaf
kdjfkajsdlkf
kjdkfj
skdjksjd
aaaaaaaa_END_dkjfkjd
111111111.START_fhsaf
kdjfkajsdlkf
aaaaaaaa_END_dkjfkjd
What I want to end up with is the first two paragraphs but not the third???
I have tried the following regex:
Code:
if ( /[0-9]\.START/../^$(.*)END/s)
{print OUT $_;}
But everything I try either prints everything in the input file or only the third paragraph....
Thanks in advance.
Jaquemon