Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Help with negative look ahed

by Kenosis (Priest)
on Oct 18, 2012 at 23:38 UTC ( #999830=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
      $text =~ /(ITEM [\dA-Z]+?[: -]+BUSINESS.+?)ITEM [\dA-Z]+?[: -]+/s;
    
    print $businessItemText;
    
  2. or download this
    ITEM I: BUSINESS
    ----------------
    ...
    in Austin, Texas.  Littlefield  Entertainment consists of sixteen (16)
    + full time
    employees  and  nineteen  (19)  part  time  employees.  Littlefield  H
    +ospitality
    consists of thirty-two (32) full time employees and one part time empl
    +oyee.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2015-07-02 21:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (45 votes), past polls