I am trying to reformat the following text using jquery:
<a href="3.3/">3.3/</a> 14-Apr-2011 14:43 -
<a href="3.4.2/">3.4.2/</a> 06-Jun-2011 11:20 -
<a href="3.8/">3.8/</a> 01-Jun-2011 16:27 -
I am wrapping the links with li tags no problem there, but trying to extract the date and get rid of the rest of the text cruft is hurting my brain. I have looked a the jQuery text selectors but nothing seems to be popping up for me suggestions?
In an ideal world I would have something like this at the end of the day:
<li><a href="3.3/">3.3/</a><br><p>14-Apr-2011 14:43</p></li>