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

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.

Comment on Re^2: regex pattern match

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2015-03-02 00:35 GMT
Find Nodes?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:

    Results (22 votes), past polls