Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: regex pattern match

by hdb (Prior)
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1026473]
help
Chatterbox?
[Corion]: Except that it doesn't work ...
[Lady_Aleena]: cPanel is a sponsor of meta::cpan?
[Lady_Aleena]: The default perl on the version of cPanel my web hosts uses is 5.8.8 which means I am dreadfully behind. I doubt perl 6 will hit my web host in my lifetime.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2017-05-29 09:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?