Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: RegEx related line split

by remiah (Hermit)
on Nov 14, 2011 at 08:54 UTC ( #937893=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    (?=$|MARK)
    
  2. or download this
    @lines = $RefLine =~ /(\([a-z]*\)[^\(]*)/g; 
    
  3. or download this
    my $RefLine = "(a) This is first line(once all 4 lines were one line).
    + (b) This is second line; (
    c) This is different line 32. (d) Here is the last line.";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-12-25 09:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls