Below is my HTML content
<HR><HR><H3>Document_1</H3>
<PRE>PART2_1</PRE>
<PRE>PART2_2</PRE>
<HR><HR><H3>Document_2</H3>
<PRE>PART3_1</PRE>
<PRE>PART3_2</PRE>
<PRE>PART3_3</PRE>
I want to wrap all the elements between <HR><HR><H3>......<PRE></PRE>
into different DIVs. In other words I will have 2 <DIV>
. I have tried various selectors but unable to get the right jquery.