[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

10/29/2009 at 11:36AM PDT, ID: 24855698 | Points: 500
[x]
Attachment Details

match the subtitle and extract the following paragraph(s)

Asked by TJ129 in Perl Programming Language

Tags: perl, regular expression

Hello,

I would like to match a subtitle (only one line,preceding and following by an empty line) with certain key words in the text file. If there is a match, I want to output either a fixed amount of lines, saying 50, or a fixed number of paragraphs, saying 5 paragraph  to an output file (which one is easier).

Thank you for your help.

[+][-]10/29/09 11:38 AM, ID: 25696760

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/29/09 10:29 PM, ID: 25700349

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74 - Hierarchy / EE_QW_3_20080625