Tool for inserting
<p>I need a java tool to insert a foot note.
The process we are doing is converting a text file as HTML. </p>

<p>While capturing, the footnote will be shown as <code>&lt;small&gt;1&lt;/small&gt;</code>, which is the first footnote.</p>

<p>Ex:</p>

<pre><code>&lt;p&gt;With reference to the complaint &lt;small&gt;1&lt;/small&gt; the Docket &lt;small&gt;2&lt;/small&gt; is undelivered to the client...&lt;/p&gt;
</code></pre>

<p>foot note:</p>

<pre><code>&lt;p&gt;&lt;small&gt;1&lt;/small&gt; Complaint No: 11-1428 &lt;/p&gt;
&lt;p&gt;&lt;small&gt;2&lt;/small&gt; Docket No: 1408&lt;/p&gt;
</code></pre>

<hr>

<p>After the tool runs the text should come as</p>

<pre><code>&lt;p&gt;With reference to the complaint Complaint No: 11-1428 the Docket Docket No: 1408 is undelivered to the client...&lt;/p&gt;
</code></pre>

<p>The foot note can be identified using tags. By identifying those tags we move (insert) the footnote text to appropriate place.</p>

<p>Pls Help.</p>
