Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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.


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 having an uproarious good time at the Monastery: (7)
As of 2014-12-20 18:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (97 votes), past polls