in reply to Re: regular expression (search and destroy)
in thread regular expression (search and destroy)
This code would do what you are asking
It wouldn't really do what he is asking. It would just work on the example he gave. Consider other possible input... A CSV format generally defines an espape character, often either a doublequote or a backwack. There may be more than one quoted field. Etc. So, what would your code do to a line like:
And how would you fix it?42, "Simpson, Homer ""Mr. Donuts"", "Springfield"
-sauoq "My two cents aren't worth a dime.";
|
|---|