Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Regular Expressions - replacing newlines and carriage returns inside quotes

by bitingduck (Chaplain)
on Oct 31, 2012 at 15:42 UTC ( #1001689=note: print w/ replies, xml ) Need Help??


in reply to Regular Expressions - replacing newlines and carriage returns inside quotes

Try using Text::CSV to read the file in. If it's "well formed" CSV (if there is such a thing) then the CR and LF should be between quotes and be handled properly.


Comment on Re: Regular Expressions - replacing newlines and carriage returns inside quotes

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (14)
As of 2015-07-02 17:19 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 (44 votes), past polls