reaper9187 has asked for the wisdom of the Perl Monks concerning the following question:
My purpose is to save the parameters associated with each entry ( i.e the first parameter which is a number)... For eg: the output array should look something like :"123", "DEF123","this is test","C:\Abhinav\test.jpg" "456", "DEF456","this is test","C:\Matt\test.jpg" "726", "DEF726","this is test","C:\Matt\test.jpg"
I'm not very good with regex and hence, couldnt figure out a way to do it .. Note. the new line characters in between quotes within values. Well those are NOT TO BE REMOVED . hence, no chomping allowed.1. "123", "DEF123","this is test","C:\Matt\test.jpg" 2. "456", "DEF456","this is test","C:\Matt\test.jpg" 3. "726", "DEF726","this is test","C:\Matt\test.jpg"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regex Split and Formatting
by ww (Archbishop) on Apr 03, 2013 at 12:02 UTC | |
|
Re: Regex Split and Formatting
by ggoebel (Sexton) on Apr 03, 2013 at 12:47 UTC | |
by thirdm (Sexton) on Apr 03, 2013 at 17:39 UTC | |
|
Re: Regex Split
by Ratazong (Monsignor) on Apr 03, 2013 at 11:51 UTC | |
|
Re: Regex Split and Formatting (Text::CSV)
by Anonymous Monk on Apr 03, 2013 at 11:51 UTC | |
|
Re: Regex Split and Formatting
by locked_user sundialsvc4 (Abbot) on Apr 03, 2013 at 12:49 UTC | |
by Anonymous Monk on Apr 03, 2013 at 20:23 UTC | |
by topher (Scribe) on Apr 04, 2013 at 15:11 UTC | |
|
Re: Regex Split and Formatting
by hdb (Monsignor) on Apr 03, 2013 at 11:55 UTC | |
|
Re: Regex Split and Formatting
by topher (Scribe) on Apr 03, 2013 at 17:05 UTC | |
by gnosti (Chaplain) on Apr 03, 2013 at 17:17 UTC | |
by topher (Scribe) on Apr 03, 2013 at 18:53 UTC | |
|
Re: Regex Split and Formatting
by reaper9187 (Scribe) on Apr 03, 2013 at 12:09 UTC | |
|
Re: Regex Split and Formatting
by clueless newbie (Curate) on Apr 03, 2013 at 13:07 UTC | |
|
Re: Regex Split and Formatting
by ww (Archbishop) on Apr 04, 2013 at 15:56 UTC | |
|
Re: Regex Split and Formatting
by reaper9187 (Scribe) on Apr 04, 2013 at 05:42 UTC | |
|
Re: Regex Split and Formatting
by kcott (Archbishop) on Apr 04, 2013 at 11:08 UTC |