TASdvlper has asked for the wisdom of the Perl Monks concerning the following question:
I am parsing a database, and one of the fields is the description of a problem (basically, a big text field). When new comments are added to the problem, the description is appended with a timestamp of when the updates where made. So, for example, the description field could look like the following.:
Where the very last entry, is the most recent update. What I would like to do is only capture the last entry made, including the date/time stamp. So, after parsing that description field, my output would only return (from Dec 13)[Thu Dec 9 23:54:43 2004, <username>]: description of problems ... ju +st some verbiage ..... [Thu Dec 10 23:54:43 2004, <username>]: just more verbiage ..... [Thu Dec 11 23:54:43 2004, <username>]: just more and more verbiage . +.... [Thu Dec 12 23:54:43 2004, <username>]: just more and more and more v +erbiage ..... [Thu Dec 13 23:54:43 2004, <username>]: just more and more and more a +nd more verbiage .....
I'm not sure where to start. Any help would be greatly appreciated.[Thu Dec 13 23:54:43 2004, <username>]: just more and more and more a +nd more verbiage .....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Parsing a data field that is seperated by data/time entries
by Roy Johnson (Monsignor) on Apr 14, 2005 at 17:52 UTC | |
by TASdvlper (Monk) on Apr 14, 2005 at 18:32 UTC | |
by Roy Johnson (Monsignor) on Apr 14, 2005 at 18:41 UTC | |
by TASdvlper (Monk) on Apr 14, 2005 at 19:38 UTC | |
by Roy Johnson (Monsignor) on Apr 14, 2005 at 19:46 UTC | |
|
Re: Parsing a data field that is seperated by data/time entries
by polettix (Vicar) on Apr 14, 2005 at 17:59 UTC | |
|
Re: Parsing a data field that is seperated by data/time entries
by graff (Chancellor) on Apr 15, 2005 at 02:57 UTC |