Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: CSV and regex mixups

by Tomte (Priest)
on Jul 02, 2003 at 23:43 UTC ( [id://271012]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    (?<![,])"(?![,])
    
  2. or download this
    #!/usr/bin/env perl
    my $test = '""crosby"","stills","nash","and sometimes "young""';
    ...
    __END__
    """"crosby""","stills","nash","and sometimes ""young""""
    ""som""ething","sil""ly","quo""ted""
    
  3. or download this
    $test =~ s/^"(.*)"$/$1/g;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-16 17:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found