Hi Guys,<br><br>I have the following text<br><br>[08 Jun 2009] DSA-1813-1 evolution-data-server - several vulnerabilities<br>        {CVE-2009-0547 CVE-2009-0582 CVE-2009-0587}<br>        [etch] - evolution-data-server 1.6.3-5etch2<br>
        [lenny] - evolution-data-server 2.22.3-1.1+lenny1<br>[04 Jun 2009] DSA-1812-1 apr-util - several vulnerabilities<br>        {CVE-2009-0023 CVE-2009-1955}<br>        [etch] - apr-util 1.2.7+dfsg-2+etch2<br>        [lenny] - apr-util 1.2.12+dfsg-8+lenny2<br>
<br>... (and a whole lot more)<br><br>I would like to parse this so I can get it into a format I can work with.<br><br>I don&#39;t know anything about parsers, and my brief google has made me think im not sure I wan&#39;t to know about them quite yet!  :)<br>
(It looks very complex)<br><br>For previous fixed string things, i would normally split each line and address each element, but this is not the case as there could be multiple [lenny] or even other entries.<br><br>I would like to parse from the date to the next date and treat that all as one element (if that makes sense)<br>
<br>Does anyone have any suggestions - should I be learning a parser for doing this? Or is there perhaps an easier way.<br><br>Tia!<br><br>Stefan<br><br>