Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jaquemon

    Regex which includes blank line???

    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: 11111111.START_fhsaf kdjfkajsdlkf kjdkfj skdjksjd aaaaaaaa_END_dkjfkjd 111111111.START_fhsaf kdjfkajsdlkf...
  2. jaquemon

    How can I print multiple lines in between expressions?

    THANKS GUYS!!!!
  3. jaquemon

    How can I print multiple lines in between expressions?

    I have a file sort of like the one below. What I need to do is look for a pattern(START) and copy everything up until END. The delimeter is always a number with one decimal place and followed by a blank line. It is exactly for looking for data in a program we use for genome parsing...
  4. jaquemon

    How can I print multiple lines in between expressions?

    All that does is write the first pattern to the file. I need everything from the first time I see that pattern until the first empty line (new paragraph). I am not that great at this stuff and my brain hurts right now. Thanks for everything so far and anything in the future.
  5. jaquemon

    How can I print multiple lines in between expressions?

    I am trying to print out lines from a file into another file based on a couple of patterns. I sort of can do it from the command line using "perl -ne '/START/ .. /END/' INfile", but I am trying to put it into a more user friendly script. Anyway I can't figure out how to do it inside a perl...

Part and Inventory Search

Back
Top