Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Extracting specific Data

by Tux (Monsignor)
on Jun 26, 2012 at 14:33 UTC ( #978439=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Extracting specific Data
in thread Extracting specific Data

And what are the requirements when regions overlap? And what if start/end words double?

You should look into constructs like

$ perl -ne'/start/i .. /end/i and print' file $ perl -ne'/\b start \b/ix ... /\b end \b/ix and print' file

And start reading :)


Enjoy, Have FUN! H.Merijn


Comment on Re^4: Extracting specific Data
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://978439]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2014-07-12 06:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (238 votes), past polls