Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: regex pattern match

by hdb (Parson)
on Apr 01, 2013 at 12:33 UTC ( #1026473=note: print w/ replies, xml ) Need Help??


in reply to Re: regex pattern match
in thread regex pattern match

Your question is not easy to understand. Would it be possible to provide:

  • A sample input file, just a couple of lines,
  • the desired output file, and
  • some more ideas what you want to match and replace?
Also, it seems, as your example grows more complex, you should be using Text::CSV, which allows you to first split your line properly along the commata, and then to split any entry along commata.


Comment on Re^2: regex pattern match

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (16)
As of 2014-07-11 17:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (232 votes), past polls