Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: regex pattern match

by AnomalousMonk (Chancellor)
on Apr 01, 2013 at 23:00 UTC ( #1026548=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my ($first, $last ) = /(.+",)(.+)/;
    $last =~ s//"\n$first"/g;
    
  2. or download this
    >perl -wMstrict -le
    "$_ = qq{\"ABC\",\"DEF\",\"This is a test\",\"Hello\"};
    ...
    "
    '"Hello"'
    '"Hello"'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1026548]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2017-10-18 19:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (250 votes). Check out past polls.

    Notices?