How to set replace command if dynamic target in anchor tag
<p>This is my Html</p>

<pre><code>desc=&lt;a target="_blank" href="http://www.taxmann.com/corporatelaws/fileopencontainer.aspx?Page=CIRNO&amp;amp;id=27000000000000002519&amp;amp;search="&gt;A. P. (DIR Series) Circular No. 46 dated June 14, 2005&lt;/a&gt;

String   k = replace ( desc, "&lt;a target=\"_blank\" href=\"http://www.taxmann.com/corporatelaws/fileopencontainer.aspx?Page=RULES&amp;amp;id=35000000000000001648&amp;amp;search=\"&gt;", "");
</code></pre>

<p>In desc I'm getting HTML I have replace command 
I have to remove link so I'm pick data from anchor tag target is dynamic where id varies I'm able to replace linking to text whose target is </p>

<p><a href="http://www.taxmann.com/corporatelaws/fileopencontainer.aspx?Page=RULES&amp;id=35000000000000001648&amp;search=" rel="nofollow">http://www.taxmann.com/corporatelaws/fileopencontainer.aspx?Page=RULES&amp;id=35000000000000001648&amp;search=</a>\ </p>

<p>but when ever target changes, I mean to say if id changes, it doesn't replace link as text.  </p>

<p>Please tell me how to get and set the id values so that if target will be dynamic we can replace link as text. I'm new to android programming.</p>
